mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
r7471 인코딩 변환 작업 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7474 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
886c449505
commit
58f1eee7d6
2 changed files with 6 additions and 2 deletions
|
|
@ -222,7 +222,9 @@ function convertEncodingStr($str) {
|
|||
$charset = $charset_list[$i];
|
||||
if($str){
|
||||
$cstr = iconv($charset,$charset.'//IGNORE',$str);
|
||||
if($str == $cstr) return $cstr;
|
||||
if($str == $cstr && $charset != 'UTF-8'){
|
||||
return iconv($charset, 'UTF-8//IGNORE', $str);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue