Character problems with Tiki 1.9.2 and MySQL 4.1.14
I installed Tiki 1.9.2 on a NetBSD server running PHP5.05 and MySQL 4.1.14/InnoDB engine. Tiki basically runs fine, but I'm trying to do a bilingual site (Japanese/English), and most Japanese characters come back from the database as garbage. (In other Tiki installations, running on older MySQL versions, Japanese displays fine.)
I googled around a bit and found that many web scripts using UTF-8 are having problems with this MySQL version. The error message I got trying to save a Tiki article is typical of the problem other people are having with other scripts:
An error occured in a database query! Context: File /tiki-edit_article.php Url /tiki-edit_article.php Query: select max(`articleId`) from `tiki_articles` where `created` = ? and `title`=? and `hash`=? Values: 0 1131412017 1 PowerPC ????? PowerPC ??????? 2 f7e76cace8884bf12d8b82868fa21f9d Message: Error Message Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '='
This illegal mix of collations seems to be the main problem. Most operations don't produce errors, but the displaying Japanese text is totally mucked up. Any ideas about the solution? I'm going to try to find what other people have done; what I've come across so far seems to point to major tweaking of the various character set settings throughout the server. This will probably be a growing problem for Tiki users as servers get upgraded.
-- Gary