preparation for 4.0 trunk: move whole scripts just under trunk directory git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1207 1ca29b6e-896d-4ea0-84a5-967f57386b96
Add i18n class for multibyte processing. Almost of this class is wrapper functions of iconv and mbstring extension. iconv extension is installed as default since PHP 5 but mbstring isn't. So I put the functions related to iconv at first. I know mbstring is more familier than iconv to us, but this is for whole internationalization, not only for CJK (Chinese, Japanese, Korean), but also for the other languages such as Vietnamese, Thai and so on. git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1200 1ca29b6e-896d-4ea0-84a5-967f57386b96
Purge misoperation at revision 1194. git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1196 1ca29b6e-896d-4ea0-84a5-967f57386b96
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1194 1ca29b6e-896d-4ea0-84a5-967f57386b96
Fix the previous revision. The target database should be selected if we set character encoding in MySQL. Great help with yama.kyms, thanks! git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1191 1ca29b6e-896d-4ea0-84a5-967f57386b96
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