]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix charset setting for plugin localizations; default setting was blanking out non...
authorBrion Vibber <brion@pobox.com>
Wed, 28 Apr 2010 23:06:08 +0000 (23:06 +0000)
committerBrion Vibber <brion@pobox.com>
Wed, 28 Apr 2010 23:06:08 +0000 (23:06 +0000)
lib/plugin.php

index 65ccdafbb02af1b82277b42f77aa7cd1734f446e..f63bdf30936b1e08f96e44424630d11cecefc79a 100644 (file)
@@ -91,6 +91,7 @@ class Plugin
             $path = INSTALLDIR . "/plugins/$name/locale";
             if (file_exists($path) && is_dir($path)) {
                 bindtextdomain($name, $path);
+                bind_textdomain_codeset($name, 'UTF-8');
             }
         }
     }