From e8e91dc29d0c93f383af993fa20d5839de311c6c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 17 Aug 2008 11:30:24 -0400 Subject: [PATCH] use UTF-8 as the internal encoding darcs-hash:20080817153024-84dde-ca566d665fff08d52f1f9796e2731417585d4c6f.gz --- lib/util.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/util.php b/lib/util.php index 9848d6f8e4..87f97685c1 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); -- 2.39.5