Private Use Areas

In Unicode, a Private Use Area (PUA) is a range of code points that, by definition, will not be assigned characters by the Unicode Consortium.[1] Currently, three private use areas are defined: one in the Basic Multilingual Plane (U+E000U+F8FF), and one each in, and nearly covering, planes 15 and 16 (U+F0000U+FFFFD, U+100000U+10FFFD). The code points in these areas cannot be considered as standardized characters in Unicode itself. They are intentionally left undefined so that third parties may define their own characters without conflicting with Unicode Consortium assignments. Under the Unicode Stability Policy,[2] the Private Use Areas will remain allocated for that purpose in all future Unicode versions.

Assignments to Private Use Area characters need not be "private" in the sense of strictly internal to an organisation; a number of assignment schemes have been published by several organisations. Such publication may include a font that supports the definition (showing the glyphs), and software making use of the private-use characters (e.g. a graphics character for a "print document" function). By definition, multiple private parties may assign different characters to the same code point, with the consequence that a user may see one private character from an installed font where a different one was intended.

Definition

Under the Unicode definition, code points in the Private Use Areas are assigned characters—they are not noncharacters, reserved, or unassigned. Their category is "Other, private use (Co)", and no character names are specified. No representative glyphs are provided, and character semantics are left to private agreement.

Private-use characters are assigned Unicode code points whose interpretation is not specified by this standard and whose use may be determined by private agreement among cooperating users. These characters are designated for private use and do not have defined, interpretable semantics except by private agreement.

No charts are provided for private-use characters, as any such characters are, by their very nature, defined only outside the context of this standard.[3]

Assignment

In the Basic Multilingual Plane (plane 0), the block titled Private Use Area has 6400 code points. Planes 15 and 16 are almost[note 1] entirely assigned to two further Private Use Areas, Supplemental Private Use Area-A and Supplemental Private Use Area-B respectively.

In order to encode characters from planes 15 and 16 in UTF-16, a further block of the BMP is assigned to High Private Use Surrogates (U+DB80..U+DBFF, 128 code points).

Usage

Standardization initiative uses

Many people and institutions have created character collections for the PUA. Some of these private use agreements are published, so other PUA implementers can aim for unused or less used code points to prevent overlaps. Several characters and scripts previously encoded in private use agreements have actually been fully encoded in Unicode, necessitating mappings from the PUA to other Unicode code points.

One of the more well-known and broadly implemented PUA agreements is maintained by the ConScript Unicode Registry (CSUR). The CSUR, which is not officially endorsed or associated with the Unicode Consortium, provides a mapping for constructed scripts, such as Klingon pIqaD and Ferengi script (Star Trek), Tengwar and Cirth (J.R.R. Tolkien's cursive and runic scripts), Alexander Melville Bell's Visible Speech, and Dr. Seuss' alphabet from On Beyond Zebra. The CSUR previously encoded the undeciphered Phaistos characters, as well as the Shavian and Deseret alphabets, which have all been accepted for official encoding in Unicode.

Another common PUA agreement is maintained by the Medieval Unicode Font Initiative (MUFI). This project is attempting to support all of the scribal abbreviations, ligatures, precomposed characters, symbols, and alternate letterforms found in medieval texts written in the Latin alphabet. The express purpose of MUFI is to experimentally determine which characters are necessary to represent these texts, and to have those characters officially encoded in Unicode. As of Unicode version 5.1, 152 MUFI characters have been incorporated into the official Unicode encoding.

Some agreed-upon PUA character collections exist in part or whole because Unicode Consortium is in no hurry to encode them. Some, such as unrepresented languages, are likely to end up encoded in the future. Some unusual cases such as fictional languages are outside the usual scope of Unicode but not explicitly ruled out by the principles of Unicode, and may show up eventually (such as the Star Trek and Tolkien writing systems). In other cases, the proposed encoding violates one or more Unicode principles and hence is unlikely to ever be officially recognized by Unicode—mostly where users want to directly encode alternate forms, ligatures, or base-character-plus-diacritic combinations (such as the TUNE scheme).

Publishing organisationTopicPUA area usedFont
CSURArtificial scriptsPUA (BMP) and Plane 15Code2000
MUFIMedieval scriptsPUA (BMP)several
SILPhonetics and languagesPUA (BMP)Charis SIL
TITUSAncient and medieval scriptsPUA (BMP)TITUS Cyberbit Basic
  • Emoji is an encoding for picture characters or emoticons used in Japanese wireless messages and webpages. With Unicode 6.0 and later, many of these have been encoded in the block Miscellaneous Symbols And Pictographs and elsewhere in the SMP.
  • GB/T 20542-2006 ("Tibetan Coded Character Set Extension A") and GB/T 22238-2008 ("Tibetan Coded Character Set Extension B") are Chinese national standards that use the PUA to encode precomposed Tibetan ligatures.
  • GB 18030 and GBK use the PUA to provisionally encode characters not found in Unicode standards.
  • The Institute of the Estonian Language uses the PUA to encode Latin and Cyrillic precomposed characters[4] that have no Unicode encoding.
  • The Free Tengwar Font Project uses a different mapping from the ConScript Unicode Registry that largely follows Michael Everson’s 2001-03-07 Tengwar discussion paper, but diverges in some details.
  • The MARC 21 standard uses the PUA to encode East Asian characters present in MARC-8[5] that have no Unicode encoding.
  • The SIL Corporate PUA uses the PUA to encode characters used in minority languages that have not yet been accepted into Unicode.
  • The STIX Fonts project uses the PUA to provide a comprehensive font set of mathematical symbols and alphabets, many of which are also available in the SMP now, e.g. in the Mathematical Alphanumeric Symbols block.
  • The Tamil Unicode New Encoding (TUNE)[6] is a proposed scheme for encoding Tamil that overcomes perceived deficiencies in the current Unicode encoding.

Vendor use

Informally, the range U+F000 through U+F8FF is known as Corporate Use Area.

  • The Adobe Glyph List used to use the PUA for some of its glyphs.
  • Apple lists a range of 1,280 characters in its developer documentation[7] of U+F400–U+F8FF within the PUA for Apple’s use. Of those, only 311 are used in the range U+F700–U+F8FF (NeXT (NeXTSTEP and OPENSTEP) and Apple (Mac OS X AppKit)).[8] Of these is U+F8FF the Apple logo generally supported by Apple's 8-bit sets.
  • WGL4 uses the PUA (U+F001 and U+F002) to encode duplicates of the ligatures fi (U+FB01) fl (U+FB02).[9]
  • Microsoft's defunct Services For Macintosh feature used U+F001 through U+F029 as replacements for special characters allowed in HFS but forbidden in NTFS, and U+F02A for the Apple logo.

[10] [11]

  • In old versions of its RichEdit component, Microsoft mapped U+F020–U+F0FF within the PUA to symbol fonts. For any character in this range, RichEdit would show a character from a symbol font instead of the end-user-defined character (EUDC)[12][13]
  • AutoCAD uses U+F8FC–U+F8FE for ⌀ (diameter sign), ± (plus-minus sign) and ° (degree sign) respectively.
  • Some fonts place Windows logo key at U+F000.
  • Number U+F000 is a numeral succession starting at 13 or 18 in some video games like Agar.io.
  • On Ubuntu, U+E0FF is displayed as the "Circle Of Friends" logo and U+F200 is "ubuntu" in the Ubuntu (typeface) with a superscripted "Circle Of Friends" (this itself is U+F0FF).
  • The 3270 font includes the Debian logo at U+F100
  • In the Linux Libertine font, U+E000 displays Tux, the mascot of Linux
  • The Font Awesome icon font utilizes the PUA to display various glyphs.
  • Powerline, a status line plugin for vim, use U+E0A0–U+E0A2 and U+E0B0–U+E0B3 for extra box-drawing characters.[14][15]
  • On the Fira Sans typeface used in Firefox OS, U+E003 is displayed as the Mozilla logo (the dinosaur head).
  • Lotus Multi-Byte Character Set (LMBCS), the encoding and character set internally used by Lotus/IBM Lotus 1-2-3, Symphony, SmartSuite, Notes, Domino as well as a number of third-party products such as Microsoft Works, uses some characters (U+F862-U+F89F and U+F8FB-U+F8FE) in the Private Use Area for symbols not defined in Unicode. Of these, U+F8FB is known to be reserved for a crown currency symbol ("Kr"), and U+F8FC and U+F8FD were later mapped to U+FB02 () and U+FB01 () respectively.[16][17]
  • IBM reserved several code page IDs for PUA code pages: Code page 1445 (IBM AFP PUA No. 1), code page 1446 (ISO 10646 UCS-PUP15), code page 1447 (ISO 10646 UCS-PUP16), code page 1449 (IBM default PUA).

Unicode PUA blocks

There are three PUA blocks in Unicode.[18]

Private Use Area
Range U+E000..U+F8FF
(6,400 code points)
Plane BMP
Scripts Unknown
Assigned 6,400 code points
Unused 0 reserved code points
Unicode version history
1.0.0 5,632 (+5,632)
1.0.1 6,400 (+768)
Note: Version 1.0.1 moved and expanded the Private Use Area block (previously located at U+E800-U+FDFF in version 1.0.0).[19][20][21]
Supplementary Private Use Area-A
Range U+F0000..U+FFFFF
(65,536 code points)
Plane SPUA-A
Scripts Unknown
Assigned 65,534 code points
Unused 0 reserved code points
2 non-characters
Unicode version history
2.0 65,534 (+65,534)
Note: [20][21]
Supplementary Private Use Area-B
Range U+100000..U+10FFFF
(65,536 code points)
Plane SPUA-B
Scripts Unknown
Assigned 65,534 code points
Unused 0 reserved code points
2 non-characters
Unicode version history
2.0 65,534 (+65,534)
Note: [20][21]

Private-use characters in other character sets

The concept of reserving specific code points for Private Use is based on similar earlier usage in other character sets. In particular, many otherwise obsolete characters in East Asian scripts continue to be used in specific names or other situations, and so some character sets for those scripts made allowance for private-use characters (such as the user-defined planes of CNS 11643, or gaiji in certain Japanese encodings). The Unicode standard references these uses under the name "End User Character Definition" (EUCD).[3]

Additionally, the C1 control block contains two codes intended for private use "control functions" by ECMA-48: 0x91 private use one (PU1) and 0x92 private use two (PU2).[22][23] Unicode includes these at U+0091 <control-0091> and U+0092 <control-0092> but defines them as control characters (category Cc), not private-use characters (category Co).[20][24]

Encodings which do not have private use areas but have more or less unused areas, such as ISO/IEC 8859 and Shift JIS, have seen uncontrolled variants of these encodings evolve.[25] For Unicode, software companies can use the Private Use Areas for their desired additions.

Notes

  1. The last two characters of every plane are defined to be non-characters. The remaining 65,534 characters of each of planes 15 and 16 are assigned as private-use characters.

References

  1. Unicode Consortium. Glossary of Unicode Terms: "Private Use Area (PUA)"
  2. "Unicode Character Encoding Stability Policy". 2012-05-29. Retrieved 2012-08-15.
  3. 1 2 Unicode Standard chapter 16.5 Private Use characters
  4. "Letter Database". Eki.ee. Retrieved 2013-04-11.
  5. "Character Sets: East Asian Characters: Alternative Unicode Mappings for MARC 21 Characters Assigned to the Private Use Area (PUA): MARC 21 Specifications for Record Structure, Character Sets, and Exchange Media (Library of Congress)". Loc.gov. 2004-09-02. Retrieved 2013-04-11.
  6. "tunerfc.tn.nic.in". tunerfc.tn.nic.in. Archived from the original on 2010-07-29. Retrieved 2013-04-11.
  7. "NSCharacterSet Class Reference". Developer.apple.com. 2008-10-15. Archived from the original on 2008-12-30. Retrieved 2013-04-11.
  8. Apple Computer, Inc. (2005) [1994]. "CORPCHAR.TXT - Registry (external version) of Apple use of Unicode corporate-zone characters". c03. Unicode Inc. Retrieved 2017-02-13.
  9. See WGL4 Unicode Range U+2013 through U+FB02
  10. "SFM Converts Macintosh HFS Filenames to NTFS Unicode". Microsoft Support. February 24, 2014. Archived from the original on May 27, 2016.
  11. "ntfs.util.c". 2008. Invalid NTFS filename characters are encodeded [sic] using the SFM (Services for Macintosh) private use Unicode characters.
  12. Microsoft Knowledge Base, The range of characters between U+F020 and U+F0FF in the Private Use Area of Unicode is mapped to symbol fonts in Richedit 4.1.
  13. SIL International, Handling of PUA Characters in Microsoft Software
  14. Powerline status line plugin question on StackOverflow mentioning private use area characters
  15. Pictures showing private use area characters in Powerline patched fonts
  16. "lmb-excp.ucm". megadaddeln / icu_chrome. 2010 [1995]. Archived from the original on 2016-12-06. Retrieved 2016-12-06.
  17. "Anhang 2. Der Lotus Multibyte Zeichensatz (LMBCS)" [Appendix 2. The Lotus Multibyte Character Set (LMBCS)]. Lotus 1-2-3 Version 3.1 Referenzhandbuch [Lotus 1-2-3 Version 3.1 Reference Manual] (in German) (1 ed.). Cambridge, MA, USA: Lotus Development Corporation. 1989. pp. A2–1 – A2–13. 302168.
  18. "Chapter 16: Special Areas and Format Characters" (PDF). The Unicode Standard. Unicode Consortium.
  19. "Unicode 1.0.1 Addendum" (PDF). The Unicode Standard. 1992-11-03. Retrieved 2016-07-09.
  20. 1 2 3 4 "Unicode character database". The Unicode Standard. Retrieved 2016-07-09.
  21. 1 2 3 "Enumerated Versions of The Unicode Standard". The Unicode Standard. Retrieved 2016-07-09.
  22. Standard ECMA-48, Fifth Edition - June 1991 §8.2.14 Miscellaneous control functions, §8.3.100, §8.3.101
  23. C1 Control Character Set of ISO 6429 (1983)
  24. Unicode 6.1.0, Chapter 4, Table 4-9
  25. Map (external version) from Mac OS Japanese encoding to Unicode 2.1 and later.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.