r7471 인코딩 변환 작업 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7474 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-05-19 04:48:26 +00:00
parent 886c449505
commit 58f1eee7d6
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,8 @@
@charset "utf-8";
/* NHN > UIT Center > Open UI Platform Team > Jeong Chan Myeong(dece24@nhncorp.com) */
/*이런 응?*/
/* Anchor Button */
a.button,
a.button span { position:relative; display:inline-block; text-decoration:none !important; background:url(../tpl/images/buttonWhite.gif) no-repeat; cursor:pointer; white-space:nowrap; vertical-align:middle;}

View file

@ -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);
}
}
}