Unicode Tutorials - Herong's Tutorial Examples - Version 5.21, by Dr. Herong Yang
Relation of GB2312 and Unicode
This section provides a quick introduction of the relation between GB2312 character set 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.
My other tutorial book "Herong's Tutorial Notes on GB2312 Character Set" provides you a complete map of all GB2312 codes and their corresponding Unicode codes.
Table of Contents