Home
last modified time | relevance | path

Searched refs:SJIS (Results 1 – 25 of 36) sorted by relevance

12

/PHP-8.0/ext/mbstring/tests/
H A Dmb_convert_encoding.phpt12 // 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 Dmb_ereg_search_xxx.phpt60 (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 Dmb_detect_encoding.phpt11 // 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 Dpictogram1.phpt9 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 Dmb_convert_encoding_basic.phpt26 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 Dmb_convert_encoding_array.phpt38 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 Dmb_strlen.phpt30 // 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 Dbug49536.phpt8 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 Dmb_convert_encoding_array2.phpt50 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 Dmb_convert_variables.phpt15 // 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 Dmb_regex_encoding_variation2.phpt35 '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 Dmb_detect_order.phpt21 $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 Dmb_http_output.phpt17 // Set HTTP output encoding to SJIS
18 $r = mb_http_output('SJIS');
59 SJIS
H A Dbug25140.phpt7 var_dump( mb_convert_encoding( '', 'SJIS', 'EUC-JP' ) );
H A Dmb_internal_encoding_variation2.phpt35 '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 Dini_language.phpt15 string(4) "SJIS"
H A Dmb_strlen_variation3.phpt35 '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 Dmb_encode_mimeheader_basic3.phpt21 $inputs = array('SJIS' => $sjis_string,
40 Language: SJIS
/PHP-8.0/ext/standard/tests/strings/
H A Dget_html_translation_table_basic9.phpt5 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 Dhtmlentities09.phpt16 SJIS
H A Dhtmlentities21.phpt51 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 Diconv_basic.phpt25 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 Deucjp2sjis.phpt2 EUC-JP to SJIS
50 $str = iconv("EUC-JP", "SJIS", $str);
/PHP-8.0/ext/gd/libgd/
H A Dgdkanji.c44 #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 Dmultibyte_encoding_001.phpt11 internal_encoding=SJIS

Completed in 67 milliseconds

12