GB2312 Encoding Range Quick Reference
Enter a short text to query ICU/IBM 5478 round-trip mapping conventions for GB2312-1980 bytes, single-byte and double-byte types, and region codes, while retaining a quick reference to the encoding ranges.
How to use the GB2312 encoding range reference
GB2312 mapping uses the fixed ICU/IBM 5478 round-trip code table loaded with the page; text is not uploaded.
Enter short text
Enter up to 64 Unicode scalar values; the tool preserves whitespace, duplicate characters, and the original order.
View fixed mapping
ASCII displays single-byte; ICU/IBM 5478 round-trip characters included in the code table, GB2312-1980 display double-byte values and region codes.
Check range
Single-character queries link to the range description; you can copy TSV or clear it, and unlisted characters are explicitly shown as “unsupported”.
Limitations and Notes
- For non-ASCII mappings, use the ICU/IBM 5478 round-trip code table; do not borrow GBK, CP936, or GB18030 to fill extensions. Mappings between legacy encodings and Unicode may differ between implementations.
- The zone code applies only to GB2312 double-byte characters; ASCII single-byte characters do not have zone codes.
- The lookup does not perform Simplified/Traditional Chinese conversion, Unicode normalization, or unknown file-encoding detection; unlisted characters are not replaced with question marks.
FAQ
Why is a character that can be encoded in GBK unsupported here?
GBK expanded the character coverage of GB2312; this page adheres to strict GB2312-1980 and does not count extended characters as GB2312.
What is the relationship between position codes and the displayed double bytes?
The zone and position numbers for GB2312 range from 1–94; commonly used EUC-CN bytes are obtained by adding 0xA0 to the zone and position values, respectively.
Why is the euro symbol unsupported?
The euro sign is not included in the strict GB2312 character set published in 1980; mappings from other extended encodings cannot replace GB2312.