Merge "Remove unused private field"
[lhc/web/wiklou.git] / maintenance / language / generateCollationData.php
index 973cf7b..550f4a3 100644 (file)
@@ -323,7 +323,7 @@ class GenerateCollationData extends Maintenance {
                        $tertiaryCollator->sort( $x );
                        $cp = $x[0];
 
-                       $char = codepointToUtf8( $cp );
+                       $char = UtfNormal\Utils::codepointToUtf8( $cp );
                        $headerChars[] = $char;
                        if ( $primaryCollator->compare( $char, $prevChar ) <= 0 ) {
                                $numOutOfOrder++;
@@ -337,7 +337,7 @@ class GenerateCollationData extends Maintenance {
 
                        if ( $this->debugOutFile ) {
                                fwrite( $this->debugOutFile, sprintf( "%05X %s %s (%s)\n", $cp, $weight, $char,
-                                       implode( ' ', array_map( 'codepointToUtf8', $group ) ) ) );
+                                       implode( ' ', array_map( 'UtfNormal\Utils::codepointToUtf8', $group ) ) ) );
                        }
                }