소스 검색

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 년 전
부모
커밋
dbc690e41e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)