mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
SKT는 euc-kr 인코딩만 지원한다
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6362 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
edfee4028a
commit
a26511880c
1 changed files with 7 additions and 2 deletions
|
|
@ -153,8 +153,13 @@
|
|||
/**
|
||||
* @brief charset 지정
|
||||
**/
|
||||
function setCharSet($charset = 'euc-kr') {
|
||||
if(!$charset) $charset = 'euc-kr';
|
||||
function setCharSet($charset = 'UTF-8') {
|
||||
if(!$charset) $charset = 'UTF-8';
|
||||
|
||||
//SKT는 euc-kr만 지원
|
||||
if(eregi("SKT11", $userAgent)) $charset = 'euc-kr';
|
||||
elseif(eregi("skt", $browserAccept)) $charset = 'euc-kr';
|
||||
|
||||
$this->charset = $charset;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue