Follow-up I5b02aa914916f64492c85ce6dcc3272b6406551a (#4335), also put a link in the...
[lhc/web/wiklou.git] / includes / normal / UtfNormal.php
index ec98802..2b400e5 100644 (file)
@@ -52,7 +52,7 @@ class UtfNormal {
        const UNORM_NONE = 1;
        const UNORM_NFD  = 2;
        const UNORM_NFKD = 3;
-       const UNORM_NFC  = UNORM_NFC;
+       const UNORM_NFC  = 4;
        const UNORM_NFKC = 5;
        const UNORM_FCD  = 6;
        const UNORM_DEFAULT = self::UNORM_NFC;
@@ -238,6 +238,7 @@ class UtfNormal {
         * Returns true if the string is _definitely_ in NFC.
         * Returns false if not or uncertain.
         * @param $string String: a UTF-8 string, altered on output to be valid UTF-8 safe for XML.
+        * @return bool
         */
        static function quickIsNFCVerify( &$string ) {
                # Screen out some characters that eg won't be allowed in XML