Home
last modified time | relevance | path

Searched refs:GB2312 (Results 1 – 5 of 5) sorted by relevance

/PHP-8.3/ext/mbstring/tests/
H A Dmb_send_mail05.phpt10 if (!@mb_internal_encoding('GB2312')) {
11 die("skip GB2312 encoding is not available on this platform");
27 mb_internal_encoding('GB2312');
H A Dhz_encoding.phpt50 readConversionTable(__DIR__ . '/data/GB2312.txt', $toUnicode, $fromUnicode);
57 // Test all good GB2312 characters within ~{ ~} escapes
75 // Test all invalid GB2312 characters within ~{ ~} escapes
97 echo "Tested HZ -> UTF-16BE (for all GB2312 characters)\n";
101 // Although they do not appear in the Unicode -> GB2312 map, ASCII characters *are*
120 echo "Tested UTF-16BE -> HZ (for all GB2312 characters)\n";
129 // and had a GB2312 character at the end.
148 Tested HZ -> UTF-16BE (for all GB2312 characters)
149 Tested UTF-16BE -> HZ (for all GB2312 characters)
H A Dmb_detect_encoding.phpt54 'UTF-8', 'SJIS', 'GB2312',
/PHP-8.3/ext/xml/tests/
H A Dbug32001b.phpt2 …xml_parse*() goes into infinite loop when autodetection in effect), using EUC-JP, Shift_JIS, GB2312
8 foreach(array('EUC-JP', 'Shift_JISP', 'GB2312') as $encoding) {
98 new testcase("GB2312", 0),
99 new testcase("GB2312", 1),
163 Encoding: GB2312
175 Encoding: GB2312
/PHP-8.3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cjk.c12389 #define GB2312 1 macro
12405 if (c2 == '}' && *state == GB2312) { in mb_hz_to_wchar()
12408 *state = GB2312; in mb_hz_to_wchar()
12417 } else if (((c > 0x20 && c <= 0x29) || (c >= 0x30 && c <= 0x77)) && p < e && *state == GB2312) { in mb_hz_to_wchar()
12519 if (buf->state != GB2312) { in mb_wchar_to_hz()
12522 buf->state = GB2312; in mb_wchar_to_hz()

Completed in 42 milliseconds