Home
last modified time | relevance | path

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

12

/PHP-5.5/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.phpt61 (SJIS) (10) ����
62 (SJIS) (5) abcde
63 (SJIS) (14) abdeabcf
64 (SJIS) (22) abc
65 (SJIS) (31) abcd
66 (SJIS) (5) �ϡ�
67 (SJIS) (10) ����
68 (SJIS) (5) abcde
69 (SJIS) (14) abdeabcf
70 (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
102 SJIS: SJIS
109 SJIS: SJIS
113 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 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");
84 == SJIS ==
H A Dmb_detect_order.phpt21 $r = mb_detect_order('SJIS,EUC-JP,JIS,UTF-8');
51 ASCII, JIS, UTF-8, EUC-JP, SJIS
53 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)
139 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');
67 SJIS
H A Dmb_internal_encoding_variation2.phpt41 'SJIS',
43 'SJIS-win', /*20*/
183 string(4) "SJIS"
186 string(4) "SJIS"
193 string(8) "SJIS-win"
196 string(8) "SJIS-win"
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 Dbug25140.phpt7 var_dump( mb_convert_encoding( '', 'SJIS', 'EUC-JP' ) );
H A Dini_language.phpt15 string(4) "SJIS"
H A Dmb_encode_mimeheader_basic3.phpt28 $inputs = array('SJIS' => $sjis_string,
47 Language: SJIS
/PHP-5.5/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-5.5/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-5.5/ext/mbstring/
H A DREADME_PHP3-i18n-ja352 SJIS: SJIS
365 SJIS: SJIS
402 SJIS: SJIS
433 SJIS: SJIS
479 SJIS: SJIS
493 SJIS: SJIS
503 SJIS: SJIS
518 SJIS: SJIS
525 SJIS: SJIS
538 SJIS: SJIS
[all …]
/PHP-5.5/ext/gd/libgd/
H A Dgdkanji.c46 #define SJIS 6 macro
130 whatcode = SJIS; in DetectKanjiCode()
135 whatcode = SJIS; in DetectKanjiCode()
154 whatcode = SJIS; in DetectKanjiCode()
162 whatcode = SJIS; in DetectKanjiCode()
170 whatcode = SJIS; in DetectKanjiCode()
208 whatcode = SJIS; in DetectKanjiCode()
211 whatcode = SJIS; in DetectKanjiCode()
220 whatcode = SJIS; in DetectKanjiCode()
496 case SJIS: in do_check_and_conv()
/PHP-5.5/Zend/tests/multibyte/
H A Dmultibyte_encoding_001.phpt14 mbstring.internal_encoding=SJIS

Completed in 29 milliseconds

12