The contents of mysql4 database must be stored in right utf-8.
authorTakuya Ono <takuya-o@users.sourceforge.jp>
Tue, 14 Jun 2011 17:38:52 +0000 (02:38 +0900)
committerTakuya Ono <takuya-o@users.sourceforge.jp>
Mon, 20 Jun 2011 08:05:20 +0000 (17:05 +0900)
see:
http://sourceforge.net/tracker/?func=detail&aid=2215940&group_id=134378&atid=729862

includes/db/mysql4.php

index 063951816d23adb9c02a07722d450da0d02d390c..f074e19e76be93b649e37e2cc8950d9430833f19 100644 (file)
@@ -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;
                        }
                }

Benjamin Mako Hill || Want to submit a patch?