/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_convert_variables.phpt | 19 // EUC-JP string 36 print("$encoding\n"); // EUC-JP 41 print("$encoding\n"); // EUC-JP 142 EUC-JP 144 EUC-JP 146 EUC-JP 149 EUC-JP 151 EUC-JP 154 EUC-JP 156 EUC-JP [all …]
|
H A D | mb_strimwidth.phpt | 11 // EUC-JP 12 $euc_jp = '0123����ʸ��������ܸ�Ǥ���EUC-JP��ȤäƤ��ޤ������ܸ�����ݽ�����'; 14 print "String width: ".mb_strwidth($euc_jp,'EUC-JP')."\n"; 16 print "1: ". mb_strimwidth($euc_jp, 0, 15,'...','EUC-JP') . "\n"; 20 print "5: ". mb_strimwidth($euc_jp, 38, 5,'...','EUC-JP') . "\n"; 25 var_dump(mb_strimwidth($euc_jp, 0, -100,'...','EUC-JP')); 30 var_dump(mb_strimwidth($euc_jp, 100, 10,'...','EUC-JP')); 35 var_dump(mb_strimwidth($euc_jp, -100, 10,'...','EUC-JP')); 40 var_dump(mb_strimwidth($euc_jp, -10, -12,'...','EUC-JP')); 49 2: 0123����ʸ��������ܸ�Ǥ���EUC-JP��ȤäƤ��ޤ������ܸ�����ݽ����� [all …]
|
H A D | mb_convert_encoding.phpt | 16 // EUC-JP string 24 print("EUC-JP: $s\n"); // EUC-JP 28 print("EUC-JP: $s\n"); // EUC-JP 42 $a = 'JIS,UTF-8,EUC-JP,SJIS'; 45 print("EUC-JP: $s\n"); // EUC-JP 62 print("EUC-JP: $s\n"); // EUC-JP 78 print("EUC-JP: $s\n"); // EUC-JP 93 print("INT: $s\n"); // EUC-JP 95 $s = mb_convert_encoding('', 'EUC-JP'); 96 print("EUC-JP: $s\n"); // SJIS [all …]
|
H A D | mb_detect_encoding.phpt | 15 // EUC-JP string 31 print("EUC-JP: $s\n"); 35 print("EUC-JP: $s\n"); 51 print("EUC-JP: $s\n"); 70 print("EUC-JP: $s\n"); 98 EUC-JP: EUC-JP 99 EUC-JP: EUC-JP 102 EUC-JP: EUC-JP 106 EUC-JP: EUC-JP 109 INT: EUC-JP [all …]
|
H A D | mb_stripos.phpt | 16 $slen = mb_strlen($euc_jp, 'EUC-JP'); 19 // EUC-JP - With encoding parameter 47 $r = mb_stripos($euc_jp, '���ܸ�', 40, 'EUC-JP'); 49 $r = mb_stripos($euc_jp, '0', 40, 'EUC-JP'); 51 $r = mb_stripos($euc_jp, 3, 40, 'EUC-JP'); 55 $r = mb_stripos($euc_jp, '���ܸ�', -3, 'EUC-JP'); 57 $r = mb_stripos($euc_jp, '0', -3, 'EUC-JP'); 68 $r = mb_stripos($euc_jp, '�ڹ��', 0, 'EUC-JP'); 70 $r = mb_stripos($euc_jp, "\n", 0, 'EUC-JP'); 74 // EUC-JP - No encoding parameter [all …]
|
H A D | mb_strpos.phpt | 16 $slen = mb_strlen($euc_jp, 'EUC-JP'); 19 // EUC-JP - With encoding parameter 24 print mb_strpos($euc_jp, '���ܸ�', 0, 'EUC-JP') . "\n"; 25 print mb_strpos($euc_jp, '0', 0, 'EUC-JP') . "\n"; 26 print mb_strpos($euc_jp, 3, 0, 'EUC-JP') . "\n"; 27 print mb_strpos($euc_jp, 0, 0, 'EUC-JP') . "\n"; 28 print mb_strpos($euc_jp, '���ܸ�', 15, 'EUC-JP') . "\n"; 47 $r = mb_strpos($euc_jp, '�ڹ��', 0, 'EUC-JP'); 49 $r = mb_strpos($euc_jp, "\n", 0, 'EUC-JP'); 53 // EUC-JP - No encoding parameter [all …]
|
H A D | mb_ereg_search_xxx.phpt | 38 (EUC-JP) (10) ���� 39 (EUC-JP) (5) abcde 40 (EUC-JP) (14) abdeabcf 41 (EUC-JP) (22) abc 42 (EUC-JP) (31) abcd 43 (EUC-JP) (5) �ϡ� 44 (EUC-JP) (10) ���� 45 (EUC-JP) (5) abcde 46 (EUC-JP) (14) abdeabcf 47 (EUC-JP) (22) abc [all …]
|
H A D | mb_substr.phpt | 13 // EUC-JP 14 $euc_jp = '0123����ʸ��������ܸ�Ǥ���EUC-JP��ȤäƤ��ޤ������ܸ�����ݽ�����'; 16 print "1: ". bin2hex(mb_substr($euc_jp, 10, 10,'EUC-JP')) . "\n"; 17 print "2: ". bin2hex(mb_substr($euc_jp, 0, 100,'EUC-JP')) . "\n"; 19 $str = mb_substr($euc_jp, 100, 10,'EUC-JP'); 23 $str = mb_substr($euc_jp, -100, 10,'EUC-JP');
|
H A D | mb_strlen.phpt | 16 $euc_jp = '0123����ʸ��������ܸ�Ǥ���EUC-JP��ȤäƤ��ޤ���0123���ܸ�����ݽ�����'; 24 // EUC-JP 25 echo "== EUC-JP ==\n"; 26 print mb_strlen($euc_jp,'EUC-JP') . "\n"; 27 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n"); 32 $sjis = mb_convert_encoding($euc_jp, 'SJIS','EUC-JP'); 40 $jis = mb_convert_encoding($euc_jp, 'JIS','EUC-JP'); 48 $utf8 = mb_convert_encoding($euc_jp, 'UTF-8','EUC-JP'); 57 mb_internal_encoding('EUC-JP'); 69 == EUC-JP ==
|
H A D | mb_regex_encoding_variation2.phpt | 175 string(6) "EUC-JP" 178 string(6) "EUC-JP" 185 string(6) "EUC-JP" 188 string(6) "EUC-JP" 310 string(6) "EUC-CN" 313 string(6) "EUC-CN" 315 string(6) "EUC-CN" 318 string(6) "EUC-CN" 320 string(6) "EUC-CN" 323 string(6) "EUC-CN" [all …]
|
H A D | mb_strcut.phpt | 19 // EUC-JP 26 print "== EUC-JP ==\n"; 27 print MBStringChars(mb_strcut($euc_jp, 6, 5,'EUC-JP'), 'EUC-JP') . "\n"; 28 print MBStringChars(mb_strcut($euc_jp, 5, 5,'EUC-JP'), 'EUC-JP') . "\n"; 29 print MBStringChars(mb_strcut($euc_jp, 0, 100,'EUC-JP'), 'EUC-JP') . "\n"; 31 $str = mb_strcut($euc_jp, 100, 10,'EUC-JP'); 34 $str = mb_strcut($euc_jp, -100, 10,'EUC-JP'); 59 == EUC-JP ==
|
H A D | mb_strstr.phpt | 8 return mb_convert_encoding($utf8str, "EUC-JP", "UTF-8"); 12 return mb_convert_encoding($eucjpstr, "UTF-8", "EUC-JP"); 18 var_dump(FROM_EUC_JP(mb_strstr(EUC_JP("あいうえおかきくけこ"), EUC_JP("おかき"), false, "EUC-JP"))); 19 var_dump(FROM_EUC_JP(mb_strstr(EUC_JP("あいうえおかきくけこ"), EUC_JP("おかき"), true, "EUC-JP"))); 20 mb_internal_encoding("EUC-JP");
|
H A D | mb_convert_encoding_basic.phpt | 27 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'JIS', 'EUC-JP'))); 30 echo "\n-- Convert to EUC-JP --\n"; 31 echo "EUC-JP encoded string in base64:\n"; 34 var_dump(base64_encode(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS'))); 35 var_dump(base64_encode(mb_convert_encoding($jis_string, 'EUC-JP', 'JIS'))); 36 var_dump(base64_encode(mb_convert_encoding($utf8_string, 'EUC-JP', 'UTF-8'))); 43 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP'))); 52 var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'UTF-8', 'EUC-JP'))); 67 -- Convert to EUC-JP -- 68 EUC-JP encoded string in base64:
|
H A D | mb_detect_order.phpt | 21 $r = mb_detect_order('SJIS,EUC-JP,JIS,UTF-8'); 29 $a[] = 'EUC-JP'; 56 ASCII, JIS, UTF-8, EUC-JP, SJIS 58 SJIS, EUC-JP, JIS, UTF-8 60 ASCII, JIS, EUC-JP, UTF-8 69 string(6) "EUC-JP" 80 string(6) "EUC-JP"
|
H A D | mb_output_handler_euc_jp.phpt | 2 mb_output_handler() (EUC-JP) 9 // EUC-JP 11 mb_http_output('EUC-JP') or print("mb_http_output() failed\n");
|
H A D | bug26639.phpt | 9 mb_convert_variables("EUC-JP", "Shift_JIS", $b); 17 mb_convert_variables("EUC-JP", "Shift_JIS", $b); 26 mb_convert_variables("EUC-JP", "Shift_JIS", $c); 36 mb_convert_variables("EUC-JP", "Shift_JIS", $c); 46 mb_convert_variables("EUC-JP", "Shift_JIS", $c); 56 mb_convert_variables("EUC-JP", "Shift_JIS", $c); 66 mb_convert_variables("EUC-JP", "Shift_JIS", $c);
|
H A D | mb_convert_encoding_array.phpt | 39 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'JIS', 'EUC-JP'))); 42 echo "\n-- Convert to EUC-JP --\n"; 43 echo "EUC-JP encoded string in base64:\n"; 46 var_dump(base64_encode_array(mb_convert_encoding($sjis_string, 'EUC-JP', 'SJIS'))); 47 var_dump(base64_encode_array(mb_convert_encoding($jis_string, 'EUC-JP', 'JIS'))); 48 var_dump(base64_encode_array(mb_convert_encoding($utf8_string, 'EUC-JP', 'UTF-8'))); 55 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'SJIS', 'EUC-JP'))); 64 var_dump(base64_encode_array(mb_convert_encoding($euc_jp_string, 'UTF-8', 'EUC-JP'))); 99 -- Convert to EUC-JP -- 100 EUC-JP encoded string in base64:
|
H A D | zend_multibyte-05.phpt | 7 zend.script_encoding=EUC-JP 11 // forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it 13 // valid EUC-encoded character "鴻".
|
H A D | zend_multibyte-09.phpt | 11 declare(encoding="EUC-JP"); 12 // forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it 14 // valid EUC-encoded character "鴻".
|
H A D | mb_internal_encoding_variation2.phpt | 34 'EUC-JP', 61 'EUC-CN', 64 'EUC-TW', 171 string(6) "EUC-JP" 174 string(6) "EUC-JP" 306 string(6) "EUC-CN" 309 string(6) "EUC-CN" 321 string(6) "EUC-TW" 324 string(6) "EUC-TW" 336 string(6) "EUC-KR" [all …]
|
/PHP-8.0/tests/basic/ |
H A D | encoding.phpt | 16 var_dump(ini_set('input_encoding', 'EUC-JP')); 17 var_dump(ini_set('internal_encoding', 'EUC-JP')); 18 var_dump(ini_set('output_encoding', 'EUC-JP')); 36 string(6) "EUC-JP" 37 string(6) "EUC-JP" 38 string(6) "EUC-JP"
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | htmlentities08.phpt | 2 htmlentities() test 8 (mbstring / EUC-JP) 5 internal_encoding=EUC-JP 11 mb_internal_encoding('EUC-JP'); 16 EUC-JP
|
H A D | htmlentities13.phpt | 2 htmlentities() test 13 (default_charset / EUC-JP) 5 default_charset=EUC-JP 13 EUC-JP
|
/PHP-8.0/ext/iconv/tests/ |
H A D | iconv_basic.phpt | 21 echo "\n-- Convert to EUC-JP --\n"; 22 echo "Expected EUC-JP encoded string in base64:\n"; 25 var_dump(bin2hex(iconv('SJIS', 'EUC-JP', $sjis_string ))); 26 var_dump(bin2hex(iconv('UTF-8', 'EUC-JP', $utf8_string))); 32 var_dump(bin2hex(iconv('EUC-JP', 'SJIS', $euc_jp_string))); 40 var_dump(bin2hex(iconv('EUC-JP', 'UTF-8', $euc_jp_string))); 47 -- Convert to EUC-JP -- 48 Expected EUC-JP encoded string in base64:
|
H A D | eucjp2iso2022jp.phpt | 2 EUC-JP to ISO-2022-JP 9 /* charset=EUC-JP */ 22 echo hexdump(iconv("EUC-JP", "ISO-2022-JP", $str));
|