diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-17 11:30:24 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-17 11:30:24 -0400 |
commit | e8e91dc29d0c93f383af993fa20d5839de311c6c (patch) | |
tree | 00191888a23dd861f77f837d85a0dbf1de849d5a /lib/util.php | |
parent | bee7caaafc58a5f3b7e9736f92b40330ddc63dc4 (diff) |
use UTF-8 as the internal encoding
darcs-hash:20080817153024-84dde-ca566d665fff08d52f1f9796e2731417585d4c6f.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index 9848d6f8e..87f97685c 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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); |