/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_chr.phpt | 9 "\x8f\xa1\xef" === mb_chr(0x50aa, "EUC-JP-2004"), 11 false === mb_chr(0x1f600, "EUC-JP-2004")
|
H A D | mb_ord.phpt | 10 0x50aa === mb_ord("\x8f\xa1\xef", "EUC-JP-2004")
|
H A D | mb_http_output.phpt | 35 // Set HTTP output encoding to EUC-JP 36 $r = mb_http_output('EUC-JP'); 71 EUC-JP 76 EUC-JP 80 EUC-JP 84 EUC-JP
|
H A D | overload01.phpt | 10 internal_encoding=EUC-JP 21 EUC-JP
|
H A D | overload02.phpt | 13 internal_encoding=EUC-JP 30 EUC-JP
|
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_decode_mimeheader_variation2.phpt | 32 "=?EUC-JP?B?xvzL3LjspcalraW5pcikx6S5oaMwMTIzNKO1o7ajt6O4o7mhow==?=", 33 "=?EUC-JP?Q?=C6=FC=CB=DC=B8=EC=A5=C6=A5=AD=A5=B9=A5=C8=A4=C7=A4=B9=A1=A3?= 34 =?EUC-JP?Q?=30=31=32=33=34=A3=B5=A3=B6=A3=B7=A3=B8=A3=B9=A1=A3?="
|
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"); 100 EUC-JP: EUC-JP 101 EUC-JP: EUC-JP 104 EUC-JP: EUC-JP 108 EUC-JP: EUC-JP 111 INT: EUC-JP 112 EUC-JP: EUC-JP [all …]
|
H A D | mb_internal_encoding.phpt | 11 // EUC-JP 12 $r = mb_internal_encoding('EUC-JP'); 51 EUC-JP
|
H A D | mb_split.phpt | 13 mb_regex_encoding( 'EUC-JP' );
|
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, '���ܸ�', 44, 'EUC-JP'); 49 $r = mb_stripos($euc_jp, '���ܸ�', 50, 'EUC-JP'); 51 $r = mb_stripos($euc_jp, '0', 50, 'EUC-JP'); 92 $r = mb_stripos($euc_jp, '�ڹ��', 0, 'EUC-JP'); 98 // EUC-JP - No encoding parameter 113 // EUC-JP - No offset and encoding parameter 132 $r = mb_stripos($euc_jp,'','EUC-JP'); 134 $r = mb_stripos($euc_jp, $t_ary, 'EUC-JP'); [all …]
|
H A D | mb_strlen.phpt | 18 $euc_jp = '0123����ʸ��������ܸ�Ǥ���EUC-JP��ȤäƤ��ޤ���0123���ܸ�����ݽ�����'; 26 // EUC-JP 27 echo "== EUC-JP ==\n"; 28 print mb_strlen($euc_jp,'EUC-JP') . "\n"; 29 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n"); 34 $sjis = mb_convert_encoding($euc_jp, 'SJIS','EUC-JP'); 42 $jis = mb_convert_encoding($euc_jp, 'JIS','EUC-JP'); 50 $utf8 = mb_convert_encoding($euc_jp, 'UTF-8','EUC-JP'); 67 mb_internal_encoding('EUC-JP'); 77 == EUC-JP ==
|
H A D | mb_strpos.phpt | 16 $slen = mb_strlen($euc_jp, 'EUC-JP'); 19 // EUC-JP - With encoding parameter 47 $r = mb_strpos($euc_jp, '���ܸ�', 44, 'EUC-JP'); 49 $r = mb_strpos($euc_jp, '���ܸ�', 50, 'EUC-JP'); 51 $r = mb_strpos($euc_jp, '0', 50, 'EUC-JP'); 92 $r = mb_strpos($euc_jp, '�ڹ��', 0, 'EUC-JP'); 98 // EUC-JP - No encoding parameter 113 // EUC-JP - No offset and encoding parameter 132 $r = mb_strpos($euc_jp,'','EUC-JP'); 134 $r = mb_strpos($euc_jp, $t_ary, 'EUC-JP'); [all …]
|
H A D | mb_substr.phpt | 14 // EUC-JP 15 $euc_jp = '0123����ʸ��������ܸ�Ǥ���EUC-JP��ȤäƤ��ޤ������ܸ�����ݽ�����'; 17 print "1: ". bin2hex(mb_substr($euc_jp, 10, 10,'EUC-JP')) . "\n"; 18 print "2: ". bin2hex(mb_substr($euc_jp, 0, 100,'EUC-JP')) . "\n"; 20 $str = mb_substr($euc_jp, 100, 10,'EUC-JP'); 24 $str = mb_substr($euc_jp, -100, 10,'EUC-JP');
|
/PHP-7.4/ext/iconv/tests/ |
H A D | iconv_strrpos.phpt | 29 foo(str_repeat("����������", 30)."����������".str_repeat("����������", 30), "����", "EUC-JP"); 33 foo($str, '$', "ISO-2022-JP", "EUC-JP");
|
H A D | iconv_substr.phpt | 33 foo("��������������������������", 5, 7, "EUC-JP"); 40 var_dump(iconv("ISO-2022-JP", "EUC-JP", iconv_substr(iconv("EUC-JP", "ISO-2022-JP", "����ˤ��� ISO-2…
|
H A D | iconv_mime_encode.phpt | 17 "input-charset" => "EUC-JP",
|
H A D | iconv_strpos.phpt | 32 foo(str_repeat("����������", 30)."����������".str_repeat("����������", 30), "����", 0, "EUC-JP"); 34 foo($str, '$', 0, "ISO-2022-JP", "EUC-JP");
|
/PHP-7.4/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-7.4/ext/xml/tests/ |
H A D | bug32001b.phpt | 2 Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect), using EUC-JP, Shift… 7 foreach(array('EUC-JP', 'Shift_JISP', 'GB2312') as $encoding) { 89 new testcase("EUC-JP" , 0), 90 new testcase("EUC-JP" , 1), 110 Encoding: EUC-JP 122 Encoding: EUC-JP
|
/PHP-7.4/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 | htmlentities04.phpt | 2 htmlentities() test 4 (setlocale / ja_JP.EUC-JP) 5 $result = (bool)setlocale(LC_CTYPE, "ja_JP.EUC-JP", "ja_JP.eucJP"); 6 if (!$result || preg_match('/EUC[^a-zA-Z]*JP/i', setlocale(LC_CTYPE, 0)) == 0) { 16 setlocale( LC_CTYPE, "ja_JP.EUC-JP", "ja_JP.eucJP" );
|
H A D | htmlentities13.phpt | 2 htmlentities() test 13 (default_charset / EUC-JP) 6 default_charset=EUC-JP 14 EUC-JP
|
H A D | htmlentities23.phpt | 2 htmlentities() / htmlspecialchars() ENT_SUBSTITUTE EUC-JP 22 $a = htmlentities($test, ENT_QUOTES | ENT_SUBSTITUTE, "EUC-JP"); 24 $a = htmlspecialchars($test, ENT_QUOTES | ENT_SUBSTITUTE, "EUC-JP");
|
H A D | bug49785.phpt | 80 echo "EUC-JP: non-lead byte >= 0x80\n"; 82 var_dump(_bin2hex(htmlspecialchars($c, ENT_QUOTES, 'EUC-JP'))); 84 var_dump(_bin2hex(htmlspecialchars("\xff", ENT_QUOTES, 'EUC-JP'))); 86 // EUC-JP: control codes that are virtually lead bytes 87 var_dump(_bin2hex(htmlspecialchars("\x8e", ENT_QUOTES, 'EUC-JP'))); 88 var_dump(_bin2hex(htmlspecialchars("\x8f", ENT_QUOTES, 'EUC-JP'))); 89 var_dump(_bin2hex(htmlspecialchars("\x8e\xa1", ENT_QUOTES, 'EUC-JP'))); 95 echo "EUC-JP: incomplete / invalid multibyte sequences\n"; 97 var_dump(_bin2hex(htmlspecialchars("$c", ENT_QUOTES, 'EUC-JP'))); 856 EUC-JP: non-lead byte >= 0x80 [all …]
|