r7471 fix

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7473 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-05-19 04:22:31 +00:00
parent 156c830572
commit 886c449505

View file

@ -221,9 +221,8 @@ function convertEncodingStr($str) {
for($i=0;$i<count($charset_list);$i++) {
$charset = $charset_list[$i];
if($str){
$cstr = iconv($charset,$charset.'\\IGNORE',$str);
if($str == $cstr);
return $cstr;
$cstr = iconv($charset,$charset.'//IGNORE',$str);
if($str == $cstr) return $cstr;
}
}