Hello Thane,
i'm still have problem with charset...
My system, my apache, my php, my web navigator are in UTF-8...
But my display seems to be ISO-xxxx text load in UTF-8 mode ... (i obtain diamond with a question mark instead for each accented character...)
Maybe the problem came from mbsting...
Some people have problems with it http://php.net/manual/en/function.mb-detect-encoding.php(http://php.net/manual/en/function.mb-detect-encoding.php)
or the database (i will try to convert it to utf8)
PS: i don't have the problem with Joomla with use the same Apache/PHP.
You could remove the encoding by changing the lines
function _gettext($msgid) {
$l10n = _get_reader();
return _encode($l10n->translate($msgid));
}
to
function _gettext($msgid) {
$l10n = _get_reader();
return $l10n->translate($msgid);
}
in include/gettext.inc.
Then php_gettext will not try to detect your encoding nor change the encoding. If that helps you, then you are right and mb_detect_encoding doesn't work in your case. Please tell me the results of that test.
This function is only used to reencode translated strings if the encoding of the string doesn't match with the desired output. It doesn't change the encoding of the site itself. You have to use the charset setting in the html header. And even if those charsets are set, in some cases some servers (mostly hosters, an example for that is funpic.de) force their own setting.