]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use UTF-8 as the internal encoding
authorEvan Prodromou <evan@prodromou.name>
Sun, 17 Aug 2008 15:30:24 +0000 (11:30 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sun, 17 Aug 2008 15:30:24 +0000 (11:30 -0400)
darcs-hash:20080817153024-84dde-ca566d665fff08d52f1f9796e2731417585d4c6f.gz

lib/util.php

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