/PHP-7.3/ext/mbstring/tests/ |
H A D | mb_convert_encoding.phpt | 15 // SJIS string (BASE64 encoded) 26 $s = mb_convert_encoding($s, 'EUC-JP', 'SJIS'); 34 $s = mb_convert_encoding($s, 'SJIS', 'EUC-JP'); 35 print("SJIS: ".base64_encode($s)."\n"); // SJIS 45 $a = 'JIS,UTF-8,EUC-JP,SJIS'; 51 $s = mb_convert_encoding($s, 'SJIS', $a); 52 print("SJIS: ".base64_encode($s)."\n"); // SJIS 68 $s = mb_convert_encoding($s, 'SJIS', $a); 69 print("SJIS: ".base64_encode($s)."\n"); // SJIS 85 print("SJIS: ".base64_encode($s)."\n"); // SJIS [all …]
|
H A D | mb_ereg_search_xxx.phpt | 60 (SJIS) (10) ���� 61 (SJIS) (5) abcde 62 (SJIS) (14) abdeabcf 63 (SJIS) (22) abc 64 (SJIS) (31) abcd 65 (SJIS) (5) �ϡ� 66 (SJIS) (10) ���� 67 (SJIS) (5) abcde 68 (SJIS) (14) abdeabcf 69 (SJIS) (22) abc [all …]
|
H A D | pictogram1.phpt | 9 echo "SJIS-Mobile to Unicode\n"; 10 var_dump(bin2hex(mb_convert_encoding("\xf8\x9f", "UCS-4BE", "SJIS-Mobile#DOCOMO"))); 11 var_dump(bin2hex(mb_convert_encoding("\xf6\x60", "UCS-4BE", "SJIS-Mobile#KDDI"))); 15 var_dump(bin2hex(mb_convert_encoding("\xf6\xec", "UCS-4BE", "SJIS-Mobile#KDDI"))); 25 echo "Unicode to SJIS-Mobile\n"; 81 echo "SJIS-Mobile to Unicode (Google) \n"; 86 echo "Unicode (Google) to SJIS-Mobile\n"; 103 SJIS-Mobile to Unicode 115 Unicode to SJIS-Mobile 157 SJIS-Mobile to Unicode (Google) [all …]
|
H A D | mb_detect_encoding.phpt | 14 // SJIS string (BASE64 encoded) 25 $s = mb_detect_encoding($s, 'SJIS'); 26 print("SJIS: $s\n"); 45 $a = array(0=>'UTF-8',1=>'EUC-JP', 2=>'SJIS', 3=>'JIS'); 58 print("SJIS: $s\n"); 77 print("SJIS: $s\n"); 87 print("EUC-JP: $s\n"); // SJIS 101 SJIS: SJIS 108 SJIS: SJIS 112 SJIS: SJIS
|
H A D | mb_convert_encoding_basic.phpt | 31 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'JIS', 'SJIS'))); 39 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS'))); 43 echo "\n-- Convert to SJIS --\n"; 44 echo "SJIS encoded string in base64:\n"; 47 var_dump(base64_encode(mb_convert_encoding($jis_string, 'SJIS', 'JIS'))); 48 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP'))); 49 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8'))); 55 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS'))); 80 -- Convert to SJIS -- 81 SJIS encoded string in base64:
|
H A D | mb_convert_encoding_array.phpt | 43 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'JIS', 'SJIS'))); 51 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS'))); 55 echo "\n-- Convert to SJIS --\n"; 56 echo "SJIS encoded string in base64:\n"; 59 var_dump(base64_encode_array(mb_convert_encoding($jis_string, 'SJIS', 'JIS'))); 60 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP'))); 61 var_dump(base64_encode_array(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8'))); 67 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS'))); 132 -- Convert to SJIS -- 133 SJIS encoded string in base64:
|
H A D | bug49536.phpt | 8 var_dump(mb_detect_encoding("A\x81", "SJIS", false)); 10 var_dump(mb_detect_encoding("A\x81", "SJIS", true)); 17 string(4) "SJIS"
|
H A D | mb_strlen.phpt | 33 // SJIS 34 echo "== SJIS ==\n"; 35 $sjis = mb_convert_encoding($euc_jp, 'SJIS','EUC-JP'); 36 print mb_strlen($sjis,'SJIS') . "\n"; 37 mb_internal_encoding('SJIS') or print("mb_internal_encoding() failed\n"); 83 == SJIS ==
|
H A D | mb_convert_encoding_array2.phpt | 55 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'JIS', 'SJIS'))); 63 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS'))); 67 echo "\n-- Convert to SJIS --\n"; 68 echo "SJIS encoded string in base64:\n"; 71 var_dump(base64_encode_array(mb_convert_encoding($jis_string, 'SJIS', 'JIS'))); 72 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP'))); 73 var_dump(base64_encode_array(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8'))); 79 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS'))); 156 -- Convert to SJIS -- 157 SJIS encoded string in base64:
|
H A D | mb_detect_order.phpt | 21 $r = mb_detect_order('SJIS,EUC-JP,JIS,UTF-8'); 50 ASCII, JIS, UTF-8, EUC-JP, SJIS 52 SJIS, EUC-JP, JIS, UTF-8
|
H A D | mb_convert_variables.phpt | 15 // SJIS string (BASE64 encoded) 25 $encoding = mb_convert_variables('EUC-JP', 'SJIS', $s); 26 print("$encoding\n"); // SJIS 35 $encoding = mb_convert_variables('SJIS', 'EUC-JP', $s); 37 print(base64_encode($s)."\n"); // Converted to SJIS (base64 encoded) 138 SJIS
|
H A D | mb_regex_encoding_variation2.phpt | 40 'SJIS', 42 'SJIS-win', /*20*/ 193 string(4) "SJIS" 196 string(4) "SJIS" 203 string(4) "SJIS" 206 string(4) "SJIS" 210 string(4) "SJIS" 213 string(4) "SJIS" 217 string(4) "SJIS" 220 string(4) "SJIS"
|
H A D | mb_http_output.phpt | 18 // Set HTTP output encoding to SJIS 19 $r = mb_http_output('SJIS'); 66 SJIS
|
H A D | mb_internal_encoding_variation2.phpt | 41 'SJIS', 43 'SJIS-win', /*20*/ 182 string(4) "SJIS" 185 string(4) "SJIS" 192 string(8) "SJIS-win" 195 string(8) "SJIS-win"
|
H A D | bug25140.phpt | 7 var_dump( mb_convert_encoding( '', 'SJIS', 'EUC-JP' ) );
|
H A D | mb_strlen_variation3.phpt | 40 'SJIS', 42 'SJIS-win', /*20*/ 212 -- Iteration 18: SJIS -- 214 Encoding SJIS recognised 216 Encoding SJIS recognised 224 -- Iteration 20: SJIS-win -- 226 Encoding SJIS-win recognised 228 Encoding SJIS-win recognised
|
H A D | mb_substr_variation3.phpt | 40 'SJIS', 42 'SJIS-win', /*20*/ 212 -- Iteration 1: SJIS -- 214 Encoding SJIS recognised 216 Encoding SJIS recognised 224 -- Iteration 1: SJIS-win -- 226 Encoding SJIS-win recognised 228 Encoding SJIS-win recognised
|
H A D | ini_language.phpt | 15 string(4) "SJIS"
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | get_html_translation_table_basic9.phpt | 5 echo "*** Testing get_html_translation_table() : basic functionality/HTML5/SJIS ***\n"; 10 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_HTML5, "SJIS"); 17 $tt = get_html_translation_table($table, ENT_COMPAT | ENT_HTML5, "SJIS"); 22 $tt = get_html_translation_table($table, ENT_NOQUOTES | ENT_HTML5, "SJIS"); 27 $tt = get_html_translation_table($table, ENT_COMPAT, "SJIS"); 34 $tt = get_html_translation_table($table, ENT_QUOTES | ENT_HTML5, "SJIS"); 40 $tt = get_html_translation_table($table, ENT_NOQUOTES | ENT_HTML5, "SJIS"); 48 *** Testing get_html_translation_table() : basic functionality/HTML5/SJIS ***
|
H A D | htmlentities21.phpt | 53 echo "\n*** Testing HTML 4.01/SJIS ***\n"; 55 test(ENT_HTML401, "SJIS"); 59 test(ENT_XHTML, "SJIS"); 61 echo "\n*** Testing HTML 5/SJIS ***\n"; 63 test(ENT_HTML5, "SJIS"); 65 echo "\n*** Testing XML 1.0/SJIS ***\n"; 67 test(ENT_XML1, "SJIS"); 136 *** Testing HTML 4.01/SJIS *** 152 *** Testing XHTML 1.0/SJIS *** 168 *** Testing HTML 5/SJIS *** [all …]
|
H A D | htmlentities09.phpt | 18 SJIS
|
/PHP-7.3/ext/iconv/tests/ |
H A D | iconv_basic.phpt | 30 var_dump(bin2hex(iconv('SJIS', 'EUC-JP', $sjis_string ))); 33 echo "\n-- Convert to SJIS --\n"; 34 echo "Expected SJIS encoded string in base64:\n"; 37 var_dump(bin2hex(iconv('EUC-JP', 'SJIS', $euc_jp_string))); 38 var_dump(bin2hex(iconv('UTF-8', 'SJIS', $utf8_string))); 44 var_dump(bin2hex(iconv('SJIS', 'UTF-8', $sjis_string))); 59 -- Convert to SJIS -- 60 Expected SJIS encoded string in base64:
|
H A D | eucjp2sjis.phpt | 2 EUC-JP to SJIS 51 $str = iconv("EUC-JP", "SJIS", $str);
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gdkanji.c | 46 #define SJIS 6 macro 129 whatcode = SJIS; in DetectKanjiCode() 134 whatcode = SJIS; in DetectKanjiCode() 153 whatcode = SJIS; in DetectKanjiCode() 161 whatcode = SJIS; in DetectKanjiCode() 169 whatcode = SJIS; in DetectKanjiCode() 207 whatcode = SJIS; in DetectKanjiCode() 210 whatcode = SJIS; in DetectKanjiCode() 219 whatcode = SJIS; in DetectKanjiCode() 495 case SJIS: in do_check_and_conv()
|
/PHP-7.3/Zend/tests/multibyte/ |
H A D | multibyte_encoding_001.phpt | 14 mbstring.internal_encoding=SJIS
|