This call got lost somewhere.
authorJan Schneider <jan@horde.org>
Tue, 12 Oct 2010 21:59:26 +0000 (23:59 +0200)
committerJan Schneider <jan@horde.org>
Wed, 13 Oct 2010 00:34:41 +0000 (02:34 +0200)
framework/Core/lib/Horde/Registry.php

index fd719e1..b48d936 100644 (file)
@@ -2244,6 +2244,11 @@ class Horde_Registry
     {
         bindtextdomain($app, $directory);
         textdomain($app);
+
+        /* The existence of this function depends on the platform. */
+        if (function_exists('bind_textdomain_codeset')) {
+            bind_textdomain_codeset($app, 'UTF-8');
+        }
     }
 
     /**