Home
last modified time | relevance | path

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

12

/PHP-7.3/ext/mbstring/tests/
H A Dmb_convert_encoding.phpt15 // 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 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 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_detect_encoding.phpt14 // 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 Dmb_convert_encoding_basic.phpt31 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 Dmb_convert_encoding_array.phpt43 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 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_strlen.phpt33 // 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 Dmb_convert_encoding_array2.phpt55 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 Dmb_detect_order.phpt21 $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 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.phpt40 '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 Dmb_http_output.phpt18 // Set HTTP output encoding to SJIS
19 $r = mb_http_output('SJIS');
66 SJIS
H A Dmb_internal_encoding_variation2.phpt41 '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 Dbug25140.phpt7 var_dump( mb_convert_encoding( '', 'SJIS', 'EUC-JP' ) );
H A Dmb_strlen_variation3.phpt40 '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 Dmb_substr_variation3.phpt40 '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 Dini_language.phpt15 string(4) "SJIS"
/PHP-7.3/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 Dhtmlentities21.phpt53 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 Dhtmlentities09.phpt18 SJIS
/PHP-7.3/ext/iconv/tests/
H A Diconv_basic.phpt30 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 Deucjp2sjis.phpt2 EUC-JP to SJIS
51 $str = iconv("EUC-JP", "SJIS", $str);
/PHP-7.3/ext/gd/libgd/
H A Dgdkanji.c46 #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 Dmultibyte_encoding_001.phpt14 mbstring.internal_encoding=SJIS

Completed in 47 milliseconds

12