X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2Flanguage%2Fdigit2html.php;h=f1e74ad9f357772bda70c32296b6f577f95f11a7;hp=9aacf516ee1aaec2b8f1f3c6356f02d736831b8e;hb=faf7cc4a09848c538320bd2b9067b1a77c0a0183;hpb=495e8ddf7e6940777f3318a1a2e37d85bfdbdbf1 diff --git a/maintenance/language/digit2html.php b/maintenance/language/digit2html.php index 9aacf516ee..f1e74ad9f3 100644 --- a/maintenance/language/digit2html.php +++ b/maintenance/language/digit2html.php @@ -57,7 +57,7 @@ class Digit2Html extends Maintenance { $this->output( "OK\n\$digitTransformTable = [\n" ); foreach ( $digitTransformTable as $latin => $translation ) { - $htmlent = utf8ToHexSequence( $translation ); + $htmlent = bin2hex( $translation ); $this->output( "'$latin' => '$translation', # &#x$htmlent;\n" ); } $this->output( "];\n" );