Home
last modified time | relevance | path

Searched refs:utf8 (Results 1 – 25 of 105) sorted by relevance

12345

/PHP-8.1/ext/standard/tests/file/
H A Dbug72330.phpt5 …LL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf…
11 …LL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf…
/PHP-8.1/ext/standard/tests/strings/
H A Dsetlocale_basic3.phpt8 if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false) {
9 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
42 "en_US.utf8" => "USD",
43 "en_AU.utf8" => "AUD",
44 "ko_KR.utf8" => "KRW",
45 "zh_CN.utf8" => "CNY",
46 "de_DE.utf8" => "EUR",
51 "nl_NL.utf8" =>"EUR"
61 …cale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) --\n";
64 $new_locale = setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8");
[all …]
H A Dsetlocale_basic1.phpt8 …LL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf…
55 "en_US.utf8" => "USD",
56 "en_AU.utf8" => "AUD",
57 "ko_KR.utf8" => "KRW",
58 "zh_CN.utf8" => "CNY",
59 "de_DE.utf8" => "EUR",
60 "es_EC.utf8" => "USD",
61 "fr_FR.utf8" => "EUR",
62 "ja_JP.utf8" => "JPY",
63 "el_GR.utf8" => "EUR",
[all …]
H A Dsetlocale_variation1.phpt8 if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false) {
9 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
41 "en_US.utf8" => "USD",
42 "en_AU.utf8" => "AUD",
43 "ko_KR.utf8" => "KRW",
44 "zh_CN.utf8" => "CNY",
45 "de_DE.utf8" => "EUR",
46 "es_EC.utf8" => "USD",
47 "fr_FR.utf8" => "EUR",
50 "nl_NL.utf8" =>"EUR"
[all …]
H A Dsetlocale_basic2.phpt8 …LL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf…
56 "en_US.utf8" => "USD",
57 "en_AU.utf8" => "AUD",
58 "ko_KR.utf8" => "KRW",
59 "zh_CN.utf8" => "CNY",
60 "de_DE.utf8" => "EUR",
61 "es_EC.utf8" => "USD",
62 "fr_FR.utf8" => "EUR",
63 "ja_JP.utf8" => "JPY",
64 "el_GR.utf8" => "EUR",
[all …]
H A Dprintf_h_H.phpt5 if (!setlocale(LC_ALL, "de_DE.utf8")) die("skip de_DE.utf8 locale not available");
10 setlocale(LC_ALL, "de_DE.utf8");
H A Dsetlocale_variation5.phpt8 if (setlocale(LC_ALL,'en_AU.utf8') === false || setlocale(LC_ALL,'en_US.utf8') === false) {
9 die('skip en_AU.utf8/en_US.utf8 locales not available');
13 LC_ALL=en_US.utf8;
21 setlocale(LC_ALL,'en_AU.utf8');
H A Dsetlocale_variation4.phpt8 if (setlocale(LC_ALL,'en_US.utf8') === false || setlocale(LC_ALL,'en_AU.utf8') === false) {
9 die('skip en_US.utf8/en_AU.utf8 locales not available');
13 LC_ALL=en_US.utf8;
21 setlocale(LC_ALL,"en_AU.utf8");
H A Dsetlocale_variation3.phpt8 if (setlocale(LC_ALL,'en_US.utf8') === false) {
9 die('skip en_US.utf8 locale not available');
21 setlocale(LC_ALL,"en_US.utf8");
/PHP-8.1/ext/mbstring/tests/
H A Dmb_strcut.phpt22 $utf8 = pack('H*', 'e288ae2045e28b856461203d2051'); // has 2 multi-byte characters: [e288ae 20 4…
38 print MBStringChars(mb_strcut($utf8, 0, 0, 'UTF-8'), 'UTF-8') . "\n";
39 print MBStringChars(mb_strcut($utf8, 0, 1, 'UTF-8'), 'UTF-8') . "\n";
40 print MBStringChars(mb_strcut($utf8, 0, 2, 'UTF-8'), 'UTF-8') . "\n";
41 print MBStringChars(mb_strcut($utf8, 0, 3, 'UTF-8'), 'UTF-8') . "\n";
42 print MBStringChars(mb_strcut($utf8, 0, 4, 'UTF-8'), 'UTF-8') . "\n";
43 print MBStringChars(mb_strcut($utf8, 0, 5, 'UTF-8'), 'UTF-8') . "\n";
44 print MBStringChars(mb_strcut($utf8, 1, 2, 'UTF-8'), 'UTF-8') . "\n";
45 print MBStringChars(mb_strcut($utf8, 1, 3, 'UTF-8'), 'UTF-8') . "\n";
46 print MBStringChars(mb_strcut($utf8, 1, 4, 'UTF-8'), 'UTF-8') . "\n";
H A Dbug60306.phpt2 Bug #60306 (Characters lost while converting from cp936 to utf8)
8 var_dump($s === mb_convert_encoding(mb_convert_encoding($s, "cp936", "utf8"), "utf8", "cp936"));
H A Dmb_substr.phpt24 $utf8 = "Greek: Σὲ γνωρίζω ἀπὸ τὴν κόψη Russian: Зарегистрируйтесь";
26 $utf32 = mb_convert_encoding($utf8, 'UTF-32', 'UTF-8');
28 $utf7 = mb_convert_encoding($utf8, 'UTF-7', 'UTF-8');
94 print "1: " . mb_substr($utf8, 0, 3, 'UTF-8') . "\n";
95 print "2: " . mb_substr($utf8, -1, null, 'UTF-8') . "\n";
96 print "3: " . mb_substr($utf8, -5, 3, 'UTF-8') . "\n";
97 print "4: " . mb_substr($utf8, 1, null, 'UTF-8') . "\n";
98 print "5:" . mb_substr($utf8, 10, 0, 'UTF-8') . "\n";
H A Dmb_strwidth.phpt13 $utf8 = '∮ E⋅da = Q';
22 print "2: " . mb_strwidth($utf8, 'UTF-8') . "\n";
/PHP-8.1/ext/intl/tests/
H A Dbug75317.phpt7 $utf8 = UConverter::getAliases('utf-8')[0];
18 printResult($c->getDestinationEncoding(), $utf8);
19 printResult($c->getSourceEncoding(), $utf8);
29 printResult($c->getDestinationEncoding(), $utf8);
35 printResult($c->getDestinationEncoding(), $utf8);
H A Dbug69374.phpt2 IntlDateFormatter::formatObject(): returns wrong utf8 value when $format param is utf8 string patte…
/PHP-8.1/ext/pcre/tests/
H A Dinvalid_utf8_offset.phpt6 die('skip no utf8 support in PCRE library');
12 $string = "\xc3\xa9 uma string utf8 bem formada";
32 string(28) " uma string utf8 bem formada"
/PHP-8.1/ext/iconv/tests/
H A Diconv_basic_001.phpt9 <?php if(setlocale(LC_ALL, "en_US.utf8") === false) { die('skip en_US.utf8 locales not available');…
12 setlocale(LC_ALL, "en_US.utf8");
/PHP-8.1/ext/mysqli/tests/
H A Dbug37090.phpt22 $cs[] = $mysql->set_charset("utf8");
40 string(4) "utf8"
44 string(4) "utf8"
H A Dmysqli_fetch_assoc_no_alias_utf8.phpt2 mysqli_fetch_assoc() - utf8
19 if (strtolower($tmp['Charset']) !== 'utf8')
40 /* some cyrillic (utf8) comes here */
52 …ement primary key, име varchar(20) character set ucs2, фамилия varchar(20) character set utf8)")) {
/PHP-8.1/ext/standard/tests/file/windows_mb_path/
H A Dbug75063_utf8.phpt20 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "bug75063-utf8";
58 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "bug75063-utf8";
74 string(%d) "%sbug75063-utf8%eтест"
H A Dtest_cp1251_0.phpt35 echo "open utf8 failed\n";
43 string(35) "opened an utf8 filename for reading"
H A Dtest_cp1251_to_utf8_0.phpt32 echo "open utf8 failed\n";
40 string(35) "opened an utf8 filename for reading"
/PHP-8.1/ext/phar/tests/
H A Dcreate_new_phar.phpt17 'Text in utf8 file.');
25 Text in utf8 file.
/PHP-8.1/tests/lang/
H A Dbug73172.phpt6 setlocale(LC_ALL, 'fr_FR.utf8', 'fra');
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_charset.c150 static unsigned int mysqlnd_mbcharlen_utf8mb3(const unsigned int utf8) in mysqlnd_mbcharlen_utf8mb3() argument
152 if (utf8 < 0x80) { in mysqlnd_mbcharlen_utf8mb3()
155 if (utf8 < 0xC2) { in mysqlnd_mbcharlen_utf8mb3()
158 if (utf8 < 0xE0) { in mysqlnd_mbcharlen_utf8mb3()
161 if (utf8 < 0xF0) { in mysqlnd_mbcharlen_utf8mb3()
168 static unsigned int mysqlnd_mbcharlen_utf8(const unsigned int utf8) in mysqlnd_mbcharlen_utf8() argument
170 if (utf8 < 0x80) { in mysqlnd_mbcharlen_utf8()
173 if (utf8 < 0xC2) { in mysqlnd_mbcharlen_utf8()
176 if (utf8 < 0xE0) { in mysqlnd_mbcharlen_utf8()
179 if (utf8 < 0xF0) { in mysqlnd_mbcharlen_utf8()
[all …]

Completed in 68 milliseconds

12345