/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_convert_encoding.phpt | 12 // SJIS string (BASE64 encoded) 23 $s = mb_convert_encoding($s, 'EUC-JP', 'SJIS'); 31 $s = mb_convert_encoding($s, 'SJIS', 'EUC-JP'); 32 print("SJIS: ".base64_encode($s)."\n"); // SJIS 42 $a = 'JIS,UTF-8,EUC-JP,SJIS'; 48 $s = mb_convert_encoding($s, 'SJIS', $a); 49 print("SJIS: ".base64_encode($s)."\n"); // SJIS 65 $s = mb_convert_encoding($s, 'SJIS', $a); 66 print("SJIS: ".base64_encode($s)."\n"); // SJIS 82 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 | mb_detect_encoding.phpt | 11 // SJIS string (BASE64 encoded) 22 $s = mb_detect_encoding($s, 'SJIS'); 23 print("SJIS: $s\n"); 42 $a = array(0=>'UTF-8',1=>'EUC-JP', 2=>'SJIS', 3=>'JIS'); 55 print("SJIS: $s\n"); 74 print("SJIS: $s\n"); 84 print("EUC-JP: $s\n"); // SJIS 96 SJIS: SJIS 103 SJIS: SJIS 107 SJIS: SJIS
|
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_convert_encoding_basic.phpt | 26 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'JIS', 'SJIS'))); 34 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS'))); 38 echo "\n-- Convert to SJIS --\n"; 39 echo "SJIS encoded string in base64:\n"; 42 var_dump(base64_encode(mb_convert_encoding($jis_string, 'SJIS', 'JIS'))); 43 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP'))); 44 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8'))); 50 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS'))); 75 -- Convert to SJIS -- 76 SJIS encoded string in base64:
|
H A D | mb_convert_encoding_array.phpt | 38 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'JIS', 'SJIS'))); 46 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS'))); 50 echo "\n-- Convert to SJIS --\n"; 51 echo "SJIS encoded string in base64:\n"; 54 var_dump(base64_encode_array(mb_convert_encoding($jis_string, 'SJIS', 'JIS'))); 55 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP'))); 56 var_dump(base64_encode_array(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8'))); 62 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS'))); 127 -- Convert to SJIS -- 128 SJIS encoded string in base64:
|
H A D | mb_strlen.phpt | 30 // SJIS 31 echo "== SJIS ==\n"; 32 $sjis = mb_convert_encoding($euc_jp, 'SJIS','EUC-JP'); 33 print mb_strlen($sjis,'SJIS') . "\n"; 34 mb_internal_encoding('SJIS') or print("mb_internal_encoding() failed\n"); 72 == SJIS ==
|
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_convert_encoding_array2.phpt | 50 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'JIS', 'SJIS'))); 58 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS'))); 62 echo "\n-- Convert to SJIS --\n"; 63 echo "SJIS encoded string in base64:\n"; 66 var_dump(base64_encode_array(mb_convert_encoding($jis_string, 'SJIS', 'JIS'))); 67 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP'))); 68 var_dump(base64_encode_array(mb_convert_encoding($utf8_string, 'SJIS', 'UTF-8'))); 74 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'UTF-8', 'SJIS'))); 151 -- Convert to SJIS -- 152 SJIS encoded string in base64:
|
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 | 35 'SJIS', 37 'SJIS-win', /*20*/ 180 string(4) "SJIS" 183 string(4) "SJIS" 190 string(4) "SJIS" 193 string(4) "SJIS" 195 string(4) "SJIS" 198 string(4) "SJIS" 200 string(4) "SJIS" 203 string(4) "SJIS"
|
H A D | mb_detect_order.phpt | 21 $r = mb_detect_order('SJIS,EUC-JP,JIS,UTF-8'); 56 ASCII, JIS, UTF-8, EUC-JP, SJIS 58 SJIS, EUC-JP, JIS, UTF-8
|
H A D | mb_http_output.phpt | 17 // Set HTTP output encoding to SJIS 18 $r = mb_http_output('SJIS'); 59 SJIS
|
H A D | bug25140.phpt | 7 var_dump( mb_convert_encoding( '', 'SJIS', 'EUC-JP' ) );
|
H A D | mb_internal_encoding_variation2.phpt | 35 'SJIS', 37 'SJIS-win', /*20*/ 176 string(4) "SJIS" 179 string(4) "SJIS" 186 string(8) "SJIS-win" 189 string(8) "SJIS-win"
|
H A D | ini_language.phpt | 15 string(4) "SJIS"
|
H A D | mb_strlen_variation3.phpt | 35 'SJIS', 37 'SJIS-win', /*20*/ 207 -- Iteration 18: SJIS -- 209 Encoding SJIS recognised 211 Encoding SJIS recognised 219 -- Iteration 20: SJIS-win -- 221 Encoding SJIS-win recognised 223 Encoding SJIS-win recognised
|
H A D | mb_encode_mimeheader_basic3.phpt | 21 $inputs = array('SJIS' => $sjis_string, 40 Language: SJIS
|
/PHP-8.0/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 | htmlentities09.phpt | 16 SJIS
|
H A D | htmlentities21.phpt | 51 echo "\n*** Testing HTML 4.01/SJIS ***\n"; 53 test(ENT_HTML401, "SJIS"); 57 test(ENT_XHTML, "SJIS"); 59 echo "\n*** Testing HTML 5/SJIS ***\n"; 61 test(ENT_HTML5, "SJIS"); 63 echo "\n*** Testing XML 1.0/SJIS ***\n"; 65 test(ENT_XML1, "SJIS"); 134 *** Testing HTML 4.01/SJIS *** 178 *** Testing XHTML 1.0/SJIS *** 222 *** Testing HTML 5/SJIS *** [all …]
|
/PHP-8.0/ext/iconv/tests/ |
H A D | iconv_basic.phpt | 25 var_dump(bin2hex(iconv('SJIS', 'EUC-JP', $sjis_string ))); 28 echo "\n-- Convert to SJIS --\n"; 29 echo "Expected SJIS encoded string in base64:\n"; 32 var_dump(bin2hex(iconv('EUC-JP', 'SJIS', $euc_jp_string))); 33 var_dump(bin2hex(iconv('UTF-8', 'SJIS', $utf8_string))); 39 var_dump(bin2hex(iconv('SJIS', 'UTF-8', $sjis_string))); 54 -- Convert to SJIS -- 55 Expected SJIS encoded string in base64:
|
H A D | eucjp2sjis.phpt | 2 EUC-JP to SJIS 50 $str = iconv("EUC-JP", "SJIS", $str);
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gdkanji.c | 44 #define SJIS 6 macro 127 whatcode = SJIS; in DetectKanjiCode() 132 whatcode = SJIS; in DetectKanjiCode() 151 whatcode = SJIS; in DetectKanjiCode() 159 whatcode = SJIS; in DetectKanjiCode() 167 whatcode = SJIS; in DetectKanjiCode() 205 whatcode = SJIS; in DetectKanjiCode() 208 whatcode = SJIS; in DetectKanjiCode() 217 whatcode = SJIS; in DetectKanjiCode() 489 case SJIS: in do_check_and_conv()
|
/PHP-8.0/Zend/tests/multibyte/ |
H A D | multibyte_encoding_001.phpt | 11 internal_encoding=SJIS
|