Fix for bug 9413 and the related Malayalam issue reported on wikitech-l.
[lhc/web/wiklou.git] / includes / api / ApiResult.php
index f8fa56a..5bc6898 100644 (file)
@@ -304,7 +304,8 @@ class ApiResult extends ApiBase {
        {
                if(!is_string($s))
                        return;
-               $s = UtfNormal::cleanUp($s);
+               global $wgContLang;
+               $s = $wgContLang->normalize($s);
        }
 
        public function execute() {