X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCollation.php;h=481d8e70342352ed8f4ac459732a2ea5c6fca89a;hb=051e1abaefe2c9ab0022e1e6f99001c5383eba19;hp=dac3e938a8c11ef7c12c3b34ed4488b0ddd741d2;hpb=61b2f07f6b4eb3ff676130126b40f519e125690c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Collation.php b/includes/Collation.php index dac3e938a8..481d8e7034 100644 --- a/includes/Collation.php +++ b/includes/Collation.php @@ -341,7 +341,7 @@ class IcuCollation extends Collation { // Check for CJK $firstChar = mb_substr( $string, 0, 1, 'UTF-8' ); - if ( ord( $firstChar ) > 0x7f && self::isCjk( utf8ToCodepoint( $firstChar ) ) ) { + if ( ord( $firstChar ) > 0x7f && self::isCjk( UtfNormal\Utils::utf8ToCodepoint( $firstChar ) ) ) { return $firstChar; }