GB2312 vs. Unicode

A quick introduction of GB2312 is provided. Topics include GB2312 character set; Location Codes; Native Codes; Unicode; GBK encoding and Unicode character set.

GB2312 character set is sub set of Unicode character set. This means that every character defined in GB2312 is also defined in Unicode.

However, GB2312 codes and Unicode codes are totally un-related. For example, GB2312 character with code value of 0xB0A1 has a Unicode code value of 0x554A. There is no mathematical formula to convert a GB2312 code to a Unicode code of the same character.

To help you to convert GB2312 codes to Unicode codes, a complete map of all GB2312 codes and their corresponding Unicode codes is provided later in the book. The corresponding UTF-8 (Unicode Transformation Format - 8-bit) are also listed in the map.

Last update: 2015.

Table of Contents

 About This Book - GB2312 Tutorials

Introduction to GB2312

 What Is GB2312 Character Set

 GB2312 Location Codes and Native Codes

 GB2312 Encodings

GB2312 vs. Unicode

 GB2312, GBK and GB18030

 GB2312 Usage Trends

 GB2312Unicode.java - GB2312 to Unicode Mapping

 GB2312 to Unicode Mapping - Non-Chinese Characters

 GB2312 to Unicode Mapping - Level 1 Characters

 GB2312 to Unicode Mapping - Level 2 Characters

 UnicodeGB2312.java - Unicode to GB2312 Mapping

 Unicode to GB2312 Mapping - All 7,445 Characters

 References of This Book - GB2312 Tutorials

 PDF Printing Version