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.