Chinese character codes

Source: Internet
Author: User
Tags ranges

Http://www.khngai.com/chinese/charmap/

What make this world extremely interesting is the variety of standards. nobody seems to agree to settle with a uniied way of doing things. we can see this from the versions that we speak, the food we eat, the houses that we build and a lot of other example.
There are a few ways of representing Chinese Characters in computer. The following is a list of existing standards. I have tabulated the Chinese codes for easy referencing.

Unicode
This encoding characters has defined 20902 CJK characters. the advantage of using this standard is that you can display simplified Chinese characters, traditional Chinese characters, Korean characters and Japanese characters on the same HTML page. no other encoding standards is supporting that for the moment.

GB code
GB (guo biao) code is defined by China. it is the encoding standard used to represent simplified Chinese characters. it has defined about 6763 Chinese characters (excluding all symbols ). countries such as China, Singapore and Malaysia are using this encoding standard.
every Chinese character is represeneted by a two byte code. the MSB of both the first and second bytes are set. thus, they can be easily identified from documents that contain both GB characters and regular ASCII characters.

GBK code
The Chinese authority soon realized that it cannot ignore the traditional Chinese characters. thus, it had defined GBK (guo biao kuozhan) to include all the traditional Chinese characters defined in Big 5. it claims that GBK is synchronized with Unicode standard, Version 1.1.

Big 5 code
Big 5 is the character encoding standard most commonly used for traditional Chinese characters. regions/countries such as Taiwan, Hong Kong and Malaysia are using this encoding standard.
Every Chinese character is represented by a two byte code. The first byte ranges from 0xa1 to 0xf9, while the second byte ranges from 0x40 to 0x7e, 0xa1 to 0xfe.
Note that the MSB of the two byte code is always set. Thus, in a document that contain Chinese characters and regular ASCII characters, the ASCII characters are still represented with a single byte.

CNS-11643-1992
CNS-11643-1992 is sometimes refered to as Chinese Standard Interchange code. it is a Chinese character encoding standard defined by Taiwan in 1992. it has 16 planes. each plane contains 94*94 = 8836 locations. each location is supposed to be filled with a Chinese character. however, a lot of the locations are left blank.
Every Chinese character is represented with two 7 bit ASCII codes. each 7 bit is a printable ASCII character ranging from 0x21 to 0x7e. this implies the first character is every plane starts with code 0x2121.
This encoding standard encompases much more characters than Unicode, GB or Big 5. A lot of characters are very rarely used. however, this encoding scheme is less popular than Big 5. this encoding scheme is used in the Chinese paging (pagers, beepers) industry. however, the paging industry uses only the first plane due to memory constraints in such devices.
Since the characters in different plane may have the same coding, escape sequence is necessary to switch between character planes.

Query Chinese Character inner code on quick dianwang

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.