Vùng sử dụng riêng
Các phạm vi dành riêng nơi các tổ chức có thể gán ký tự của riêng họ: BMP PUA (U+E000–U+F8FF) cộng với Supplementary PUA trong Mặt phẳng 15 và 16.
What is the Private Use Area?
The Private Use Area (PUA) refers to three ranges of Unicode code points that are permanently reserved for applications to define their own characters. Unlike most of the Unicode code space, PUA code points will never be assigned official characters by the Unicode Consortium. Instead, any organization can use them for proprietary characters — custom icons, corporate logos, game symbols, or glyphs not yet in Unicode.
There are three PUA regions in Unicode:
| Name | Range | Size |
|---|---|---|
| BMP Private Use Area | U+E000–U+F8FF | 6,400 code points |
| Supplementary Private Use Area A | U+F0000–U+FFFFF | 65,534 code points |
| Supplementary Private Use Area B | U+100000–U+10FFFF | 65,534 code points |
Total: 137,468 code points — by far the largest reserved region in Unicode.
How the PUA is Used
Because PUA code points have no standard meaning, their interpretation is entirely up to the parties exchanging the text. This requires both sides to agree on a mapping — typically through a custom font that maps PUA code points to specific glyphs.
Common use cases:
-
Icon fonts — Font Awesome, Material Icons, and similar libraries map their icons to PUA code points (e.g., U+F000+ for Font Awesome). The font renders the PUA code point as the intended icon.
-
Corporate logo characters — Companies sometimes use PUA slots for brand marks in specialized documents.
-
Pre-standardization characters — Klingon, Tengwar (Tolkien's Elvish script), and other scripts not yet in Unicode have community-defined PUA assignments (the ConScript Unicode Registry, CSUR).
-
Regional/historic writing systems — Script communities waiting for official Unicode approval use the PUA for interoperability within their community.
The Interoperability Problem
PUA usage is inherently non-interoperable across different applications or organizations unless
both use the same font and the same mapping. A PUA code point U+E001 might be a "thumbs up"
icon in one font and a currency symbol in another. When text with PUA characters is exchanged
between systems using different fonts, the result is meaningless glyphs.
# PUA code points have no official name
import unicodedata
cp = 0xE001 # PUA code point
try:
name = unicodedata.name(chr(cp))
except ValueError as e:
print(e) # no such name
category = unicodedata.category(chr(cp))
print(category) # "Co" (Private Use)
PUA in Emoji History
Before emoji were standardized in Unicode 6.0 (2010), Japanese mobile carriers (DoCoMo, KDDI, SoftBank) each used their own PUA encodings for emoji. DoCoMo used the range U+E63E–U+E757; SoftBank used a different range. This is why early cross-carrier emoji were garbled — each carrier had a different PUA mapping. Unicode 6.0 unified these into standardized code points.
Detecting PUA Characters
import unicodedata
def is_pua(char: str) -> bool:
return unicodedata.category(char) == "Co"
print(is_pua("\uE001")) # True (BMP PUA)
print(is_pua("\U000F0001")) # True (Supplementary PUA A)
print(is_pua("A")) # False
Common Pitfalls
Assuming PUA characters are portable: Never embed PUA characters in data exchanged with external systems without documenting the required font/mapping.
Font Awesome characters in databases: Storing Font Awesome PUA icons in a database works only if the rendering system also uses Font Awesome. On different systems, PUA values appear as blank boxes or unrelated glyphs.
Quick Facts
| Property | Value |
|---|---|
| BMP PUA range | U+E000–U+F8FF |
| Supplementary PUA A | U+F0000–U+FFFFF |
| Supplementary PUA B | U+100000–U+10FFFF |
| Total PUA code points | 137,468 |
| General category | Co (Private Use) |
| Official character assignment | Never — permanently private |
| Common use | Icon fonts (Font Awesome, Material Icons) |
| Registry for scripts | CSUR (ConScript Unicode Registry) |
Thuật ngữ liên quan
Thêm trong Tiêu chuẩn Unicode
Mặt phẳng 0 (U+0000–U+FFFF), chứa các ký tự được sử dụng phổ …
Đảm bảo rằng một khi ký tự được gán, điểm mã và …
Trung Quốc, Nhật Bản và Hàn Quốc — thuật ngữ tập thể …
Bất kỳ điểm mã nào ngoại trừ các điểm mã surrogate (U+D800–U+DFFF). …
The process of mapping Chinese, Japanese, and Korean ideographs that share a …
The individual consonant and vowel components (jamo) of the Korean Hangul writing …
Tổ chức phi lợi nhuận phát triển và duy trì Tiêu chuẩn …
Tiêu chuẩn quốc tế (ISO/IEC 10646) được đồng bộ hóa với Unicode, …
Toàn bộ phạm vi các điểm mã Unicode có thể có: U+0000 …
Các điểm mã U+D800–U+DFFF được dành riêng cho các cặp thay thế …