Fixed a bug in the XML encoding function

SVN:trunk[914]
This commit is contained in:
Romain Quetiez
2010-10-22 07:47:05 +00:00
parent 006453678b
commit 70149af5d6

View File

@@ -488,7 +488,7 @@ class Str
*/
protected static function xmlencode($string)
{
return self::xmlentities(iconv("ISO-8859-1", "UTF-8//IGNORE",$string));
return self::xmlentities(iconv("UTF-8", "UTF-8//IGNORE",$string));
}
public static function islowcase($sString)