From 0d9eb4c5f0536ae90134f2a436da71f005cec355 Mon Sep 17 00:00:00 2001 From: Takuya Ono Date: Wed, 15 Jun 2011 02:38:52 +0900 Subject: [PATCH] The contents of mysql4 database must be stored in right utf-8. see: http://sourceforge.net/tracker/?func=detail&aid=2215940&group_id=134378&atid=729862 --- includes/db/mysql4.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/db/mysql4.php b/includes/db/mysql4.php index 0639518..f074e19 100644 --- a/includes/db/mysql4.php +++ b/includes/db/mysql4.php @@ -44,6 +44,8 @@ class sql_db { if (@mysql_select_db($this->dbname)) { + #Set utf-8 + mysql_query('SET CHARACTER SET utf8', $this->db_connect_id); return $this->db_connect_id; } } -- 2.30.2