16 $jsUpperChars = json_decode( exec(
'node generateJsToUpperCaseList.js' ) );
19 for ( $i = 0; $i < 65536; $i++ ) {
20 if ( $i >= 0xd800 && $i <= 0xdfff ) {
24 $char = mb_convert_encoding(
'&#' . $i .
';',
'UTF-8',
'HTML-ENTITIES' );
25 $phpUpper = mb_strtoupper( $char );
27 if ( $jsUpper !== $phpUpper ) {
28 $data[$char] = $phpUpper;
32 echo str_replace(
' ',
"\t",
33 json_encode(
$data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE )