#995 – Unicode Code Points
December 13, 2013 8 Comments
Unicode maps characters into their corresponding code points, i.e. a numeric value that represents that character. The full set of possible Unicode values ranges from 0 to 10FFFF (hex), for a total of 1,114,112 possible values.
The full set of possible Unicode values is divided into 17 sets of 65,536 values, known as planes. Each plane is identified numerically by the first 5 bits of the code point. For example:
- Plane 0: 000000 – 00FFFF
- Plane 1: 010000 – 01FFFF
- Plane 16: 100000 – 10FFFF
Plane 0, also known as the Basic Multilingual Plane, contains code points representing characters in most of the world’s alphabets. This include Latin alphabets, as well as Asian scripts like CJK, Katakana and Hiragana.
Other planes contain less common characters. For example, plane 1, known as the Supplementary Multilingual Plane (SMP) contains characters from ancient alphabets, hieroglyphics, and musical symbols.
The Unicode standard has currently only defined a mapping for about 10% of all of the possible code point values.