DB charset utf8만 지원
This commit is contained in:
@ -1191,8 +1191,7 @@ function sql_select_db($db, $connect)
|
|||||||
{
|
{
|
||||||
global $g4;
|
global $g4;
|
||||||
|
|
||||||
if (strtolower($g4['charset']) == 'utf-8') @mysql_query(" set names utf8 ");
|
@mysql_query(" set names utf8 ");
|
||||||
else if (strtolower($g4['charset']) == 'euc-kr') @mysql_query(" set names euckr ");
|
|
||||||
return @mysql_select_db($db, $connect);
|
return @mysql_select_db($db, $connect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user