/php-src/ext/intl/uchar/tests/ |
H A D | basic-functionality.phpt | 42 $codepoints = array('P', 0xDF, 0x2603); 43 foreach($codepoints as $cp) { 46 echo "Sample range of codepoints: U+2600-U+260F\n"; 139 Sample range of codepoints: U+2600-U+260F
|
/php-src/ext/dom/ |
H A D | html_document.c | 66 lxb_codepoint_t *codepoints; member 81 lxb_codepoint_t codepoints[4096]; member 120 ctx->codepoints, in dom_decoding_encoding_ctx_init() 121 sizeof(ctx->codepoints) / sizeof(*ctx->codepoints) in dom_decoding_encoding_ctx_init() 461 decoding_encoding_ctx->codepoints, in dom_setup_parser_encoding_manually() 462 sizeof(decoding_encoding_ctx->codepoints) / sizeof(*decoding_encoding_ctx->codepoints) in dom_setup_parser_encoding_manually() 1282 const lxb_codepoint_t *codepoints_ref = output->codepoints; in dom_saveHTML_write_string_len() 1317 lxb_codepoint_t codepoints[4096]; in dom_common_save() local 1319 …) lxb_encoding_decode_init(&decode, decoding_data, codepoints, sizeof(codepoints) / sizeof(*codepo… in dom_common_save() 1332 output_ctx->codepoints = codepoints; in dom_common_save() [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | cp932_encoding.phpt | 19 * from 0xF040-0xF9FC, which map to Unicode 'private' codepoints 0xE000-E757 */ 67 /* There are 396 Unicode codepoints which are non-invertible in CP932 73 * (Other sequences in 0xFA00-0xFBFF map to the same codepoints, and when 110 echo "Unicode -> CP932 conversion works on all invalid codepoints\n"; 132 echo "Unicode -> SJIS-win conversion works on all invalid codepoints\n"; 152 Unicode -> CP932 conversion works on all invalid codepoints 155 Unicode -> SJIS-win conversion works on all invalid codepoints
|
H A D | mb_substr_count.phpt | 23 // Although the needle below contains 3 bytes, it decodes to zero Unicode codepoints 57 // byte caused two codepoints to be emitted (because the decoder was holding 58 // cached data), and both of those codepoints matched a 1-codepoint needle
|
H A D | mb_str_split_jp.phpt | 84 Some MacJapanese characters map to a sequence of several Unicode codepoints. Examples: 93 Even though they map to multiple codepoints, mb_str_split treats these as ONE character each 96 echo "== MacJapanese characters which map to 3-5 codepoints each ==\n"; 124 == MacJapanese characters which map to 3-5 codepoints each ==
|
H A D | cp51932_encoding.phpt | 26 /* The table we are using tries to map as many Unicode codepoints into 29 * CP932 character set, we don't need to handle codepoints which are not 58 * because the table we are using attempts to map as many Unicode codepoints 110 echo "Unicode -> CP51932 conversion works on all invalid codepoints\n"; 122 Unicode -> CP51932 conversion works on all invalid codepoints
|
H A D | other_encodings.phpt | 22 var_dump(mb_convert_encoding("\x01\x00", "8bit", "UTF-16BE")); // codepoints over 0xFF are illegal …
|
H A D | sjis_mobile_encodings.phpt | 39 * from 0xF040-0xF9FC, which map to Unicode 'private' codepoints 0xE000-E757 */ 61 * Unicode codepoints 64 * (Other sequences in 0xFA00-0xFC4B map to the same codepoints.) 118 * area' codepoints */ 279 echo "Unicode -> $encoding conversion works on all invalid codepoints\n"; 290 // flags, but in Unicode these are represented by a sequence of _two_ codepoints 291 // So if only one of those two codepoints appears at the end of a string, it can't 354 Unicode -> SJIS-Mobile#DOCOMO conversion works on all invalid codepoints 357 Unicode -> SJIS-Mobile#KDDI conversion works on all invalid codepoints 360 Unicode -> SJIS-Mobile#SOFTBANK conversion works on all invalid codepoints
|
H A D | cp950_encoding.phpt | 16 // Non-reversible mappings (two different CP950 codepoints map to same Unicode codepoint) 26 // CP950 explicitly maps some unused Big5 codepoint ranges to Unicode "Private User Area" codepoints
|
H A D | mb_strlen.phpt | 73 print mb_strlen($utf8,'UTF-8') . " codepoints\n"; 141 43 codepoints
|
H A D | big5_encoding.phpt | 16 // Non-reversible mappings (two different BIG5 codepoints map to same Unicode codepoint)
|
H A D | gb18030_encoding.phpt | 17 /* GB18030 represents all Unicode codepoints in the BMP which are _not_ covered by any 25 * These start from 0x81308130 and count upwards one by one, with all the Unicode codepoints 29 …* converts to, number of sequential Unicode codepoints represented by sequential GB18030 codepoint… 256 // Test one random 4-byte code for each range used for Unicode codepoints in BMP
|
H A D | mb_substr.phpt | 67 echo "-- Testing MacJapanese characters which map to 3-5 codepoints each --\n"; 69 /* There are many characters in MacJapanese which map to sequences of several codepoints */ 172 -- Testing MacJapanese characters which map to 3-5 codepoints each --
|
H A D | sjis2004_encoding.phpt | 60 // Some pairs of Unicode codepoints are represented by a single character in SJIS-2004
|
H A D | mb_convert_kana.phpt | 82 echo "Including one which will expand to two codepoints:\n"; 135 // Regression test: Two codepoints collapsed into one, just one position 208 Including one which will expand to two codepoints:
|
H A D | iso2022kr_encoding.phpt | 109 // Regression test: The old implementation would wrongly convert some codepoints
|
H A D | utf_encodings.phpt | 15 // all ranges of valid codepoints in UnicodeData.txt 841 // UTF-16 _cannot_ represent codepoints bigger than 0x10FFFF, so we're not 873 // Two successive codepoints which are both the 1st part of a surrogate pair 887 // Test treatment of (illegal) codepoints between U+D800 and U+DFFF 967 // Test treatment of (illegal) codepoints between U+D800 and U+DFFF
|
H A D | utf8_mobile_encodings.phpt | 95 // Test some plain, vanilla codepoints (to/from mobile encoding)
|
H A D | cp5022x_encoding.phpt | 58 * which maps to Unicode 'private' codepoints 0xE000-E757 */ 385 // In CP50220, two codepoints can be collapsed into a single kuten code in some cases
|
H A D | encoding_tests.inc | 37 // Skip codepoints that do not have a mapping (e.g. in BIG5.txt)
|
H A D | iso2022jp_ms_encoding.phpt | 48 * Unicode codepoints */
|
H A D | utf7imap_encoding.phpt | 157 * abruptly ends after a group of 3 Base64-encoded codepoints... that's why we only emit one
|
H A D | iso2022jp_2004_encoding.phpt | 344 // Test sequences of 2 Unicode codepoints which convert to a single character in ISO-2022-JP-2004
|
H A D | gb18030_2022_encoding.phpt | 257 // Test one random 4-byte code for each range used for Unicode codepoints in BMP
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_encoding_unicode_error.phpt | 2 Dom\HTMLDocument loading with unicode codepoints resulting in an error
|