From 0effbefa969a25f0da519ead51548cf05e676e14 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Thu, 7 Feb 2013 10:04:53 +0900 Subject: [PATCH] =?UTF-8?q?DB=20charset=20utf8=EB=A7=8C=20=EC=A7=80?= =?UTF-8?q?=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index ffcede995..f018bddeb 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1191,8 +1191,7 @@ function sql_select_db($db, $connect) { global $g4; - if (strtolower($g4['charset']) == 'utf-8') @mysql_query(" set names utf8 "); - else if (strtolower($g4['charset']) == 'euc-kr') @mysql_query(" set names euckr "); + @mysql_query(" set names utf8 "); return @mysql_select_db($db, $connect); }