Explorar o código

Fixed a bug in the XML encoding function

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@914 a333f486-631f-4898-b8df-5754b55c2be0
romainq %!s(int64=14) %!d(string=hai) anos
pai
achega
dbc690e41e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/MyHelpers.class.inc.php

+ 1 - 1
core/MyHelpers.class.inc.php

@@ -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)