OSDN Git Service

Refering to http://sourceforge.jp/projects/nucleus-jp/lists/archive/developers/2011...
authorsakamocchi <sakamocchi@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Wed, 30 Mar 2011 00:11:31 +0000 (00:11 +0000)
committersakamocchi <sakamocchi@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Wed, 30 Mar 2011 00:11:31 +0000 (00:11 +0000)
commit4a91e5df7a35073129d71662ccd5837f0c6ef880
tree47a3b3156639ce77264cb12c1eb18c728345ea42
parent3314cc529554e1f7dd1068689242e13ee84d8cf3
Refering to sourceforge.jp/projects/nucleus-jp/lists/archive/developers/2011-March/000377.html. Some server computers register the first post with garbage charactors due to multibyte processing. These computers don't have PHP "mysql_set_charset" function so we need to use mysql query to change the character set settings of MySQL. This problem seems to be caused by the differences of query such as "SET SESSION CHARACTOR SET $charset;" and "SET SESSION NAMES $charset;". The latter almost equals PHP "mysql_set_charset" function but the former doesn't. This problem should be searched more deeply.

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1190 1ca29b6e-896d-4ea0-84a5-967f57386b96
utf8/install/index.php
utf8/nucleus/libs/sql/mysql.php
utf8/nucleus/libs/sql/pdo.php