GBK code detailed analysis (with GBK code location map)

Source: Internet
Author: User

1.GBK Code Position distribution map



2.GBK Code bit description


GBK also uses double-byte representation, the overall encoding range is 8140-fefe, the first byte between the 81-fe, the tail byte between 40-fe, culling xx7f a line. A total of 23,940 code positions, a total income of 21,886 Chinese characters and graphic symbols, including Chinese characters (including radicals and components) 21,003, graphic symbols 883.all encodings are divided into three parts:
1. Chinese character area. Includes: A. GB 2312 Kanji area. namely GBK/2: B0a1-f7fe.    Contains 6,763 GB of 2312 Kanji, arranged in the original order. B. GB 13000.1 expands the Chinese character area. Including: (1) GBK/3:8140-a0fe.        Contains 6,080 CJK kanji in GB 13000.1. (2) GBK/4: aa40-fea0. CJK Chinese characters and supplemental kanji are included in 8,160. CJK Chinese characters in the front, by the UCS code size, the addition of Chinese characters (including radicals and components) in the following, according to the "Kangxi Dictionary" page number/word rank.
2. Graphic symbol area. Includes: A. GB 2312 non-kanji symbol area. namely GBK/1: A1a1-a9fe. In addition to the symbol of GB 2312, there are 10 lowercase roman numerals and GB 12345 supplemental symbols.    Count the symbols 717. B. GB 13000.1 expands the non-Chinese character area. namely GBK/5: A840-a9a0. BIG-5 Non-kanji symbols, structural characters, and "0" are arranged in this area. Count the symbols 166.
3. User-defined area: divided into (1) (2) (3) three districts.    (1) Aaa1-affe, code bit 564.    (2) F8a1-fefe, code bit 658.    (3) a140-a7a0, code bit 672. Section (3), although open to users, is restricted, as it does not preclude the possibility of future additions of new characters in this area.
Reference: Http://baike.baidu.com/link?url= Hi1z5quwv8xphunlrdvkgmukdoasssy-s9mvcj8djumseknfva7584mo5kcnphwttbbnosb7lta-s4dhbakchanvvnwxchgn3lbwlx6aujq


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

GBK code detailed analysis (with GBK code location map)

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.