EllisLab/CodeIgniter — Issue #561: XML-RPC errors should not be encoded into HTML entities
Author: agronholm
Created: 2011-10-11 14:36:58+00:00
State: open

1) HTML entities DO NOT work with XML!
2) htmlentities() defaults to latin-1 while XML defaults to utf-8

Solution: instead of htmlentities(), use something like this: http://stackoverflow.com/questions/3957360/generating-xml-document-in-php-escape-characters