/PHP-5.4/ext/json/ |
H A D | utf8_decode.c | 62 if (utf8->the_index >= utf8->the_length) { in get() 65 c = utf8->the_input[utf8->the_index] & 0xFF; in get() 78 int c = get(utf8); in cont() 89 utf8->the_index = 0; in utf8_decode_init() 92 utf8->the_char = 0; in utf8_decode_init() 93 utf8->the_byte = 0; in utf8_decode_init() 114 return utf8->the_char > 0 ? utf8->the_char - 1 : 0; in utf8_decode_at_character() 130 if (utf8->the_index >= utf8->the_length) { in utf8_decode_next() 131 return utf8->the_index == utf8->the_length ? UTF8_END : UTF8_ERROR; in utf8_decode_next() 133 utf8->the_byte = utf8->the_index; in utf8_decode_next() [all …]
|
H A D | utf8_decode.h | 15 extern int utf8_decode_at_byte(json_utf8_decode *utf8); 16 extern int utf8_decode_at_character(json_utf8_decode *utf8); 17 extern void utf8_decode_init(json_utf8_decode *utf8, char p[], int length); 18 extern int utf8_decode_next(json_utf8_decode *utf8);
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | setlocale_basic3.phpt | 8 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'); 54 "en_US.utf8" => "USD", 55 "en_AU.utf8" => "AUD", 56 "ko_KR.utf8" => "KRW", 57 "zh_CN.utf8" => "CNY", 58 "de_DE.utf8" => "EUR", 63 "nl_NL.utf8" =>"EUR" 73 …cale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) --\n"; 76 $new_locale = setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8"); [all …]
|
H A D | setlocale_basic1.phpt | 8 …LL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf… 67 "en_US.utf8" => "USD", 68 "en_AU.utf8" => "AUD", 69 "ko_KR.utf8" => "KRW", 70 "zh_CN.utf8" => "CNY", 71 "de_DE.utf8" => "EUR", 72 "es_EC.utf8" => "USD", 73 "fr_FR.utf8" => "EUR", 74 "ja_JP.utf8" => "JPY", 75 "el_GR.utf8" => "EUR", [all …]
|
H A D | setlocale_variation1.phpt | 8 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'); 53 "en_US.utf8" => "USD", 54 "en_AU.utf8" => "AUD", 55 "ko_KR.utf8" => "KRW", 56 "zh_CN.utf8" => "CNY", 57 "de_DE.utf8" => "EUR", 58 "es_EC.utf8" => "USD", 59 "fr_FR.utf8" => "EUR", 62 "nl_NL.utf8" =>"EUR" [all …]
|
H A D | setlocale_basic2.phpt | 8 …LL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf… 68 "en_US.utf8" => "USD", 69 "en_AU.utf8" => "AUD", 70 "ko_KR.utf8" => "KRW", 71 "zh_CN.utf8" => "CNY", 72 "de_DE.utf8" => "EUR", 73 "es_EC.utf8" => "USD", 74 "fr_FR.utf8" => "EUR", 75 "ja_JP.utf8" => "JPY", 76 "el_GR.utf8" => "EUR", [all …]
|
H A D | setlocale_variation4.phpt | 8 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; 28 setlocale(LC_ALL,"en_AU.utf8");
|
H A D | setlocale_variation5.phpt | 8 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; 28 setlocale(LC_ALL,'en_AU.utf8');
|
H A D | setlocale_variation3.phpt | 8 if (setlocale(LC_ALL,'en_US.utf8') === false) { 9 die('skip en_US.utf8 locale not available'); 28 setlocale(LC_ALL,"en_US.utf8");
|
/PHP-5.4/ext/mbstring/tests/ |
H A D | bug60306.phpt | 2 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 D | mb_strlen.phpt | 51 $utf8 = mb_convert_encoding($euc_jp, 'UTF-8','EUC-JP'); 52 print mb_strlen($utf8,'UTF-8') . "\n"; 54 print strlen($utf8) . "\n";
|
/PHP-5.4/ext/pcre/tests/ |
H A D | invalid_utf8_offset.phpt | 6 die('skip no utf8 support in PCRE library'); 12 $string = b"\xc3\xa9 uma string utf8 bem formada"; 32 string(28) " uma string utf8 bem formada"
|
H A D | invalid_utf8.phpt | 6 die('skip no utf8 support in PCRE library');
|
H A D | skip.ini | 5 [No utf8 support in PCRE library]
|
H A D | bug27103.phpt | 6 die('skip no utf8 support in PCRE library');
|
H A D | 007.phpt | 6 die('skip no utf8 support in PCRE library');
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | bug37090.phpt | 24 $cs[] = $mysql->set_charset("utf8"); 42 string(4) "utf8" 46 string(4) "utf8"
|
H A D | mysqli_fetch_assoc_no_alias_utf8.phpt | 2 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)")) {
|
H A D | mysqli_change_user_set_names.phpt | 133 // charsets cannot take any other value but utf8 in unicode mode 134 $defaults['charset_client'] = 'utf8'; 135 $defaults['charset_connection'] = 'utf8'; 136 $defaults['charset_results'] = 'utf8';
|
H A D | bug36802.phpt | 18 $x[0] = @$mysql->set_charset('utf8');
|
/PHP-5.4/ext/phar/tests/ |
H A D | create_new_phar.phpt | 17 'Text in utf8 file.'); 26 Text in utf8 file.
|
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_charset.c | 152 static unsigned int mysqlnd_mbcharlen_utf8mb3(unsigned int utf8) in mysqlnd_mbcharlen_utf8mb3() argument 154 if (utf8 < 0x80) { in mysqlnd_mbcharlen_utf8mb3() 157 if (utf8 < 0xC2) { in mysqlnd_mbcharlen_utf8mb3() 160 if (utf8 < 0xE0) { in mysqlnd_mbcharlen_utf8mb3() 163 if (utf8 < 0xF0) { in mysqlnd_mbcharlen_utf8mb3() 170 static unsigned int mysqlnd_mbcharlen_utf8(unsigned int utf8) in mysqlnd_mbcharlen_utf8() argument 172 if (utf8 < 0x80) { in mysqlnd_mbcharlen_utf8() 175 if (utf8 < 0xC2) { in mysqlnd_mbcharlen_utf8() 178 if (utf8 < 0xE0) { in mysqlnd_mbcharlen_utf8() 181 if (utf8 < 0xF0) { in mysqlnd_mbcharlen_utf8() [all …]
|
/PHP-5.4/ext/pcre/pcrelib/ |
H A D | pcredemo.c | 62 int utf8; in main() local 267 utf8 = option_bits & PCRE_UTF8; in main() 345 else if (utf8) /* Otherwise, ensure we */ in main()
|
/PHP-5.4/ext/json/tests/ |
H A D | bug46944.phpt | 2 Bug #46944 (json_encode() doesn't handle 3 byte utf8 correctly)
|
/PHP-5.4/ext/tidy/tests/ |
H A D | 024.phpt | 25 $tidy = tidy_parse_string($contents, $config, 'utf8');
|