Plane (Unicode): Difference between revisions
m Fixed broken link |
No edit summary |
||
Line 1: | Line 1: | ||
{{main|Mapping of Unicode characters}} |
{{main|Mapping of Unicode characters}} |
||
In the [[Unicode]] standard, '''planes''' are groups of numerical values (code points) that point to specific characters. Unicode [[code point]]s are logically divided into {{num|17}} planes, each with [[65536 (number)|65,536]] (= 2<sup>16</sup>) code points. Planes are identified by the numbers 0 to 16<sub>[[decimal]]</sub>, which corresponds with the possible values 00–10<sub>[[hexadecimal]]</sub> of the first two positions in six position format ('''''hh'''hhhh''). As of version 6.1, six of these planes have assigned code points (characters), and are named. |
In the [[Unicode]] standard, '''planes''' are groups of numerical values (code points) that point to specific characters. Unicode [[code point]]s are logically divided into {{num|17}} planes, each with [[65536 (number)|65,536]] (= 2<sup>16</sup>) code points. Planes are identified by the numbers 0 to 16<sub>[[decimal]]</sub>, which corresponds with the possible values 00–10<sub>[[hexadecimal]]</sub> of the first two positions in six position format ('''''hh'''hhhh''). As of version 6.1, six of these planes have assigned code points (characters), and are named. |
||
Currently, about ten percent of the potential space is used. Furthermore, ranges of characters have been tentatively mapped out for every current and ancient writing system (script) the Unicode Consortium has been able to identify.<ref>[http://www.unicode.org/roadmaps/ Unicode roadmaps]</ref> While Unicode may eventually need to use another of the spare 11 planes for ideographic characters, other planes remain. Even if previously unknown scripts with tens of thousands of characters are discovered, the limit of 1,114,112 code points is unlikely to be reached in the near future. The Unicode Consortium has stated that the limit will never be changed.<ref>http://unicode.org/policies/stability_policy.html</ref> |
Currently, about ten percent of the potential space is used. Furthermore, ranges of characters have been tentatively mapped out for every current and ancient writing system (script) the Unicode Consortium has been able to identify.<ref>[http://www.unicode.org/roadmaps/ Unicode roadmaps]</ref> While Unicode may eventually need to use another of the spare 11 planes for ideographic characters, other planes remain. Even if previously unknown scripts with tens of thousands of characters are discovered, the limit of 1,114,112 code points is unlikely to be reached in the near future. The Unicode Consortium has stated that the limit will never be changed.<ref>http://unicode.org/policies/stability_policy.html</ref> |
Revision as of 17:57, 12 December 2013
In the Unicode standard, planes are groups of numerical values (code points) that point to specific characters. Unicode code points are logically divided into 17 planes, each with 65,536 (= 216) code points. Planes are identified by the numbers 0 to 16decimal, which corresponds with the possible values 00–10hexadecimal of the first two positions in six position format (hhhhhh). As of version 6.1, six of these planes have assigned code points (characters), and are named.
Currently, about ten percent of the potential space is used. Furthermore, ranges of characters have been tentatively mapped out for every current and ancient writing system (script) the Unicode Consortium has been able to identify.[1] While Unicode may eventually need to use another of the spare 11 planes for ideographic characters, other planes remain. Even if previously unknown scripts with tens of thousands of characters are discovered, the limit of 1,114,112 code points is unlikely to be reached in the near future. The Unicode Consortium has stated that the limit will never be changed.[2]
The odd-looking code points limit (it is not a power of 2) is due to the design of UTF-16. In UTF-16 a "surrogate pair" of two 16-bit words is used to encode 220 code points in the planes 1 to 16, in addition to the use of single code unit to encode plane 0.[3] It is not due to UTF-8, which was designed with a limit of 231 code points (32768 planes), and can encode 221 code points (32 planes) even if limited to 4 bytes.[4]
Sometimes, the terms “astral plane” and “astral characters” are used informally to refer to the planes above the Basic Multilingual Plane (planes 1–16) and their characters.[5]
Overview
Basic Multilingual Plane
The first plane, plane 0, the Basic Multilingual Plane (BMP), is where most characters have been assigned so far. The BMP contains characters for almost all modern languages, and a large number of special characters. A primary objective for the BMP is to support the unification of prior character sets as well as characters for writing. Most of the allocated code points in the BMP are used to encode Chinese, Japanese, and Korean (CJK) characters.
The High Surrogates (U+D800–U+DBFF) and Low Surrogate (U+DC00–U+DFFF) codes are reserved for encoding non-BMP characters in UTF-16 by using a pair of 16-bit codes: one High Surrogate and one Low Surrogate. A single surrogate code point will never be assigned a character.
As of Unicode 6.2[update], the BMP comprises the following blocks:
Supplementary Multilingual Plane
Plane 1, the Supplementary Multilingual Plane (SMP), contains historic scripts such as Linear B, Egyptian hieroglyphs, and cuneiform scripts; historic and modern musical notation; mathematical alphanumerics; Emoji and other pictographic sets; reform orthographies like Shavian and Deseret; and game symbols for playing cards, Mah Jongg, and dominoes.
As of Unicode 6.2[update], the SMP comprises the following blocks:
|
|
|
Supplementary Ideographic Plane
Plane 2, the Supplementary Ideographic Plane (SIP), is used for CJK Ideographs, mostly CJK Unified Ideographs, that were not included in earlier character encoding standards.
As of Unicode 6.1[update], the SIP comprises the following blocks:
- CJK Unified Ideographs Extension B (20000–2A6DF)
- CJK Unified Ideographs Extension C (2A700–2B73F)
- CJK Unified Ideographs Extension D (2B740–2B81F)
- CJK Compatibility Ideographs Supplement (2F800–2FA1F); not Unified
Unassigned planes
Planes 3 to 13: No characters have yet been assigned to Planes 3 through 13. Plane 3 is tentatively named the Tertiary Ideographic Plane, but as of version 6.1 there are no characters assigned to it. It is reserved for Oracle Bone script, Bronze Script, Small Seal Script, additional CJK unified ideographs, and other historic ideographic scripts.[6]
It is not anticipated that all these planes will be used in the foreseeable future, given the total sizes of the known writing systems left to be encoded. The number of possible symbol characters that could arise outside of the context of writing systems is potentially huge. At the moment, these 11 planes out of 17 are unused.
Supplementary Special-purpose Plane
Plane 14 (E in hexadecimal), the Supplementary Special-purpose Plane (SSP), currently contains non-graphical characters. The first block is for deprecated language tag characters for use when language cannot be indicated through other protocols (such as the xml:lang attribute in XML). The other block contains glyph variation selectors to indicate an alternate glyph for a character that cannot be determined by context.
As of Unicode 6.1[update], the SSP comprises the following blocks:
- Tags (E0000–E007F)
- Variation Selectors Supplement (E0100–E01EF)
Private Use Area planes
The two planes 15 and 16, called Supplementary Private Use Area-A and -B (or simply Private Use Area (PUA)) are available for character assignment by parties outside the ISO and the Unicode Consortium. They are used by fonts internally to refer to auxiliary glyphs, for example, ligatures and building blocks for other glyphs. Such characters will have limited interoperability. Software and fonts that support Unicode will not necessarily support character assignments by other parties.
References
- ^ Unicode roadmaps
- ^ http://unicode.org/policies/stability_policy.html
- ^ The four bits wwww in the high surrogate represents the (Unicode plane − 1). Unicode plane = wwww + 1. The highest value wwww can represent is 1111binary = Fhex = 15decimal. Hence plane (15 + 1)=16 is the highest plane a surrogate pair can represent. Hence 10 FFFFhex is the highest code point a surrogate pair can represent. See Table 3.5 "UTF-16 Bit Distribution" in the Unicode Standard http://www.unicode.org/versions/Unicode6.0.0/UnicodeStandard-6.0.pdf
- ^ See Table 3.6 "UTF-8 Bit Distribution" in the Unicode Standard http://www.unicode.org/versions/Unicode6.0.0/UnicodeStandard-6.0.pdf
- ^ Nicholas, Nick. Astral Planes
- ^ TIP Roadmap