Still need to convert UTF8 to a hex string for search.
authorZheng Zhu <zhengzhu@users.mediawiki.org>
Mon, 22 Nov 2004 22:03:13 +0000 (22:03 +0000)
committerZheng Zhu <zhengzhu@users.mediawiki.org>
Mon, 22 Nov 2004 22:03:13 +0000 (22:03 +0000)
languages/LanguageZh.php

index c81a21e..f01e373 100644 (file)
@@ -109,6 +109,7 @@ class LanguageZh extends LanguageZh_cn {
                $fname="zhsegment";
                wfProfileIn( $fname );
                $t = $this->mZhClient->segment($string);
+               $t = LanguageUtf8::stripForSearch( $t );
                wfProfileOut( $fname );
                return $t;