Bladeren bron

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 14 jaren geleden
bovenliggende
commit
dbc690e41e
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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)