Unicode Tutorials - Herong's Tutorial Examples - v5.32, by 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
ASCII Character Set and Encoding
►GB2312 Character Set and Encoding
GB2312 Character Set for Chinese Characters
GB2312 Encoding for GB2312 Character Set
►Relation of GB2312 and Unicode
GB18030 Character Set and Encoding
JIS X0208 Character Set and Encodings
UTF-8 (Unicode Transformation Format - 8-Bit)
UTF-16, UTF-16BE and UTF-16LE Encodings
UTF-32, UTF-32BE and UTF-32LE Encodings
Python Language and Unicode Characters
Java Language and Unicode Characters
Encoding Conversion Programs for Encoded Text Files
Using Notepad as a Unicode Text Editor
Using Microsoft Word as a Unicode Text Editor