Home
last modified time | relevance | path

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

12345

/php-src/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-src/ext/standard/tests/strings/
H A Dsetlocale_basic3.phpt9 if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false) {
10 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
43 "en_US.utf8" => "USD",
44 "en_AU.utf8" => "AUD",
45 "ko_KR.utf8" => "KRW",
46 "zh_CN.utf8" => "CNY",
47 "de_DE.utf8" => "EUR",
52 "nl_NL.utf8" =>"EUR"
62 …cale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) --\n";
65 $new_locale = setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8");
[all …]
H A Dsetlocale_variation1.phpt9 if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false) {
10 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",
47 "es_EC.utf8" => "USD",
48 "fr_FR.utf8" => "EUR",
51 "nl_NL.utf8" =>"EUR"
[all …]
H A Dsetlocale_basic1.phpt9 …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 Dsetlocale_basic2.phpt9 …LL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf…
57 "en_US.utf8" => "USD",
58 "en_AU.utf8" => "AUD",
59 "ko_KR.utf8" => "KRW",
60 "zh_CN.utf8" => "CNY",
61 "de_DE.utf8" => "EUR",
62 "es_EC.utf8" => "USD",
63 "fr_FR.utf8" => "EUR",
64 "ja_JP.utf8" => "JPY",
65 "el_GR.utf8" => "EUR",
[all …]
H A Dprintf_h_H.phpt6 if (!setlocale(LC_ALL, "de_DE.utf8")) die("skip de_DE.utf8 locale not available");
11 setlocale(LC_ALL, "de_DE.utf8");
H A Dsetlocale_variation4.phpt9 if (setlocale(LC_ALL,'en_US.utf8') === false || setlocale(LC_ALL,'en_AU.utf8') === false) {
10 die('skip en_US.utf8/en_AU.utf8 locales not available');
14 LC_ALL=en_US.utf8;
22 setlocale(LC_ALL,"en_AU.utf8");
H A Dsetlocale_variation5.phpt9 if (setlocale(LC_ALL,'en_AU.utf8') === false || setlocale(LC_ALL,'en_US.utf8') === false) {
10 die('skip en_AU.utf8/en_US.utf8 locales not available');
14 LC_ALL=en_US.utf8;
22 setlocale(LC_ALL,'en_AU.utf8');
H A Dsetlocale_variation3.phpt9 if (setlocale(LC_ALL,'en_US.utf8') === false) {
10 die('skip en_US.utf8 locale not available');
22 setlocale(LC_ALL,"en_US.utf8");
/php-src/ext/mbstring/tests/
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_strlen.phpt72 $utf8 = mb_convert_encoding($euc_jp, 'UTF-8', 'EUC-JP');
73 print mb_strlen($utf8,'UTF-8') . " codepoints\n";
75 print strlen($utf8) . " bytes\n";
77 $utf8 = "abcde あいうえお 汉字 ελληνικά";
78 $long_utf8 = str_repeat($utf8, 100);
79 print mb_strlen($utf8, 'UTF-8') . "\n";
84 mb_check_encoding($utf8);
86 print mb_strlen($utf8, 'UTF-8') . "\n";
H A Dmb_strwidth.phpt13 $utf8 = '∮ E⋅da = Q';
22 print "2: " . mb_strwidth($utf8, 'UTF-8') . "\n";
H A Dmb_str_pad.phpt76 $utf8 = "Σὲ γνωρίζω ἀπὸ τὴν κόψη Зарегистрируйтесь";
77 $utf32 = mb_convert_encoding($utf8, 'UTF-32', 'UTF-8');
78 $utf7 = mb_convert_encoding($utf8, 'UTF-7', 'UTF-8');
79 $tests = ["UTF-8" => $utf8, "UTF-32" => $utf32, "UTF-7" => $utf7];
/php-src/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-src/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-src/ext/mysqli/tests/
H A Dbug37090.phpt19 $cs[] = $mysql->set_charset("utf8");
37 string(4) "utf8"
41 string(4) "utf8"
/php-src/ext/iconv/tests/
H A Diconv_basic_001.phpt11 if (setlocale(LC_ALL, "en_US.utf8") === false) { die('skip en_US.utf8 locales not available'); }
15 setlocale(LC_ALL, "en_US.utf8");
/php-src/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-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_quote_binary.phpt16 // Force the connection to utf8, which is enough to make the test fail
18 $db->exec("SET NAMES 'utf8'");
H A Dpdo_mysql_prepare_emulated_binary.phpt16 // Force the connection to utf8, which is enough to make the test fail
18 $db->exec("SET NAMES 'utf8'");
/php-src/ext/phar/tests/
H A Dcreate_new_phar.phpt17 'Text in utf8 file.');
25 Text in utf8 file.
/php-src/tests/lang/
H A Dbug73172.phpt6 setlocale(LC_ALL, 'fr_FR.utf8', 'fra');

Completed in 50 milliseconds

12345