mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 09:09:59 +09:00
r7471 fix
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7473 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
156c830572
commit
886c449505
1 changed files with 2 additions and 3 deletions
|
|
@ -221,9 +221,8 @@ function convertEncodingStr($str) {
|
||||||
for($i=0;$i<count($charset_list);$i++) {
|
for($i=0;$i<count($charset_list);$i++) {
|
||||||
$charset = $charset_list[$i];
|
$charset = $charset_list[$i];
|
||||||
if($str){
|
if($str){
|
||||||
$cstr = iconv($charset,$charset.'\\IGNORE',$str);
|
$cstr = iconv($charset,$charset.'//IGNORE',$str);
|
||||||
if($str == $cstr);
|
if($str == $cstr) return $cstr;
|
||||||
return $cstr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue