Home
last modified time | relevance | path

Searched refs:EUC (Results 1 – 25 of 85) sorted by last modified time

1234

/PHP-7.4/ext/mbstring/tests/
H A Dmb_chr.phpt9 "\x8f\xa1\xef" === mb_chr(0x50aa, "EUC-JP-2004"),
11 false === mb_chr(0x1f600, "EUC-JP-2004")
H A Dmb_ord.phpt10 0x50aa === mb_ord("\x8f\xa1\xef", "EUC-JP-2004")
H A Dmb_http_output.phpt35 // 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 Doverload01.phpt10 internal_encoding=EUC-JP
21 EUC-JP
H A Doverload02.phpt13 internal_encoding=EUC-JP
30 EUC-JP
H A Dmb_convert_encoding.phpt16 // 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 Dmb_decode_mimeheader_variation2.phpt32 "=?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 Dmb_detect_encoding.phpt15 // 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 Dmb_internal_encoding.phpt11 // EUC-JP
12 $r = mb_internal_encoding('EUC-JP');
51 EUC-JP
H A Dmb_split.phpt13 mb_regex_encoding( 'EUC-JP' );
H A Dmb_stripos.phpt16 $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 Dmb_strlen.phpt18 $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 Dmb_strpos.phpt16 $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 Dmb_substr.phpt14 // 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 Diconv_strrpos.phpt29 foo(str_repeat("����������", 30)."����������".str_repeat("����������", 30), "����", "EUC-JP");
33 foo($str, '$', "ISO-2022-JP", "EUC-JP");
H A Diconv_substr.phpt33 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 Diconv_mime_encode.phpt17 "input-charset" => "EUC-JP",
H A Diconv_strpos.phpt32 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 Dencoding.phpt16 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 Dbug32001b.phpt2 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 Dhtmlentities08.phpt2 htmlentities() test 8 (mbstring / EUC-JP)
5 internal_encoding=EUC-JP
11 mb_internal_encoding('EUC-JP');
16 EUC-JP
H A Dhtmlentities04.phpt2 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 Dhtmlentities13.phpt2 htmlentities() test 13 (default_charset / EUC-JP)
6 default_charset=EUC-JP
14 EUC-JP
H A Dhtmlentities23.phpt2 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 Dbug49785.phpt80 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 …]

Completed in 34 milliseconds

1234