use UTF-8 as the internal encoding

darcs-hash:20080817153024-84dde-ca566d665fff08d52f1f9796e2731417585d4c6f.gz
This commit is contained in:
Evan Prodromou 2008-08-17 11:30:24 -04:00
parent bee7caaafc
commit e8e91dc29d

View File

@ -132,6 +132,7 @@ function common_end_xml() {
} }
function common_init_language() { function common_init_language() {
mb_internal_encoding('UTF-8');
$language = common_language(); $language = common_language();
# So we don't have to make people install the gettext locales # So we don't have to make people install the gettext locales
putenv('LANGUAGE='.$language); putenv('LANGUAGE='.$language);