#449 utf8 problem in PearDB_mysql.php,v 1.18

Database
closed
nobody
MySQL (31)
5
2012-10-11
2005-04-10
Likai Liu
No

The constructor correctly detects mysql version 4;
however, mysql's character set string for utf-8 is
actually "utf8" and not "utf-8". If you just pull
$charset from globals, you get "utf-8", since many
other places in phpwiki expect utf-8.

As a result, even when CHARSET is set to utf-8 in
config.ini, random text in the content is mangled, and
that full text search does not work.

Discussion