Unicode
Unicode (also known as The Unicode Standard and TUS) is a character encoding standard maintained by the Unicode Consortium. It is made to support text in the world's writing systems that can be stored on computers. Version 18.0 includes 172,808 characters and 175 scripts. These are used in everyday writing, books, school subjects, and technical work.
Unicode has mostly replaced an older situation. In that time, many different character sets were used in different places and on different computers, and they often did not work together. All of these sets, and many more characters, were brought together into one Unicode set. Unicode is used to write most text on the Internet, including most web pages. Many people who build software now think about Unicode, and it can hold more than 1.1 million characters.
The Unicode character repertoire matches ISO/IEC 10646, and the two use the same code for each character. The Unicode Standard is more than a list of characters, though. To help developers and designers, it also has charts, reference information, and extra sections. These sections explain ideas for different scripts and offer tips on using them. They cover topics such as character normalization, character composition and decomposition, collation, and directionality.
Unicode includes 3,972 emoji, and the Consortium keeps adding new ones to the standard. Unicode helped emoji become popular outside of Japan. Unicode text is saved as computer data using one of several encodings. These encodings decide how the standard's character codes are turned into groups of bytes. The Unicode Standard itself describes three of them: UTF-8, UTF-16, and UTF-32. Several others also exist. UTF-8 is used much more than the others, partly because it works with ASCII.
Origin and development
Before Unicode, many different text encodings were used, and each one only worked in its own setting. Text written in one encoding often showed up as strange characters in another. Most of these systems only handled a few writing systems, often a script plus Latin characters. Unicode was designed to work across many scripts. It gives each unit, such as a grapheme, its own unique number called a code point. Details like style are left to the typeface, to markup, or to software such as a web browser or word processor. The first 256 code points match ISO/IEC 8859-1, so Western European text is easy to convert. Many characters that look nearly the same were given separate code points, so older text could be converted without losing information. For example, the Halfwidth and Fullwidth Forms block contains a full copy of the Latin alphabet, because older CJK encodings had both wide and narrow versions. Its origins go back to the 1980s, when Xerox and its Character Code Standard (XCCS) were part of the story. In 1987, Joe Becker of Xerox, along with Lee Collins and Mark Davis of Apple, began looking into a universal character set, and Dave Opstad also gave input. In 1988 Becker described a plan using 16-bit characters, which he called a "wide-body ASCII". Later, the Research Libraries Group, Sun Microsystems, Microsoft, and NeXT joined the work, and by the end of 1990 a final draft was ready.
The Unicode Consortium was set up in California in January 1991, and the first volume of The Unicode Standard was published that October. In 1996, Unicode 2.0 allowed more than 16 bits. This made room for historic scripts such as Egyptian hieroglyphs and many rare characters. The Consortium is a non-profit group. Its full members include Adobe, Apple, Google, IBM, Meta, Microsoft, Netflix, and SAP. Some countries and government agencies have also been members. People who help Unicode grow can receive the Unicode Bulldog Award, including Tatsuo Kobayashi, Ken Lunde, and Michael Everson. Unicode now includes 175 scripts, such as alphabets, abugidas, and syllabaries. These cover most major writing systems in use today. More details are on the Script (Unicode) page.
Work continues on scripts not yet included. Many of these are used mainly in history, religion, or research. Extra characters are also added to existing scripts, along with symbols for mathematics and music. Scripts proposed for inclusion include Chisoi and Sirmauri script. Numidian and Rongorongo are still waiting for user communities to agree on details. Invented scripts such as Tengwar and Klingon are listed in the ConScript Unicode Registry, along with unofficial code assignments in the private use area. The Medieval Unicode Font Initiative focuses on special medieval Latin characters, and some of these have already been added. The Script Encoding Initiative, started in 2002 by Deborah Anderson at the University of California, Berkeley, helps fund proposals for new scripts. Unicode and the ISO's Universal Coded Character Set (UCS) share the same repertoire and code points. Unicode also includes rules for collation, rendering, and bidirectional text. Unicode is updated regularly. In 2020, the release of version 14.0 was delayed to September 2021 because of the COVID-19 pandemic.
Architecture and terminology
See also: Universal Character Set characters
Unicode gives each character a number called a code points. These numbers go from U+0000 to U+10FFFF and are written as hexadecimal numbers, with leading zeros added when needed. Text is saved using ways of encoding, such as UTF-8 or UTF-16. The codespace is split into 17 planes. The Basic Multilingual Plane holds the characters that are used most often.
Main article: Plane (Unicode)
Inside each plane, characters are grouped into blocks of related characters. Each code point also belongs to a General Category, such as letters, numbers, punctuation, or symbols. Some code points are kept for private use, and a few are never given to any character. Some characters are invisible but change how nearby characters look, like the ZERO WIDTH NON-JOINER and ZERO WIDTH JOINER. Control codes come from the C0 and C1 control codes defined in ISO/IEC 6429. When text is read with the wrong code, the result is called mojibake. This can happen with Windows-1252.
Unicode gives each assigned character a unique name. A letter can be joined with a combining diacritical marks, such as an accent. The letter é can be written as one precomposed character or as a letter plus a mark. Canonical equivalence treats these two ways as the same. The DIN 91379 standard covers letters needed in Europe. In Korean, Hangul Jamo parts build syllables. CJK characters use the CJK Radicals Supplement, Kangxi radicals, and Ideographic Description Sequences. Some scripts, such as Devanāgarī and Arabic, use special ligature forms, like the lām-alif in Arabic. Tools such as ACE, which became the proof of concept for OpenType, Graphite from SIL International, and AAT from Apple help show these forms. Some Unicode subsets are standardized, including WGL-4 in Windows NT 4.0.
When software cannot show a character, it may show an open box, or U+FFFD. Apple's Last Resort font and the fallback font from SIL International show more information about these characters. Unicode text can be stored as bytes in several ways. These include UCS-2, ASCII-compatible UTF-8, surrogate pair forms of UTF-16, and UTF-32. UTF-EBCDIC is not part of the standard. UTF-8 is the most common choice for sharing text. It is used by FreeBSD and most recent Linux distributions. The byte order mark helps detect byte endianness. It can also be a signature for UTF-8 text, though some code pages use it too. UTF-32 uses one 32-bit unit per character. It is used inside programs by GCC and wide character systems, and in Python when coding at a high-level. Punycode helps place text into the Domain Name System through IDNA, which supports Internationalized Domain Names. Older ideas include UTF-5 and UTF-6. GB18030, from the Standardization Administration of China, is the official character set of the People's Republic of China. BOCU-1 and SCSU are compression schemes. An April Fools' Day RFC from 2005 described the joke encodings UTF-9 and UTF-18.
Further information: Universal Character Set characters § Characters, grapheme clusters and glyphs
| Row | Cells | Range(s) |
|---|---|---|
| 00 | 20–7E | Basic Latin (00–7F) |
| A0–FF | Latin-1 Supplement (80–FF) | |
| 01 | 00–13, 14–15, 16–2B, 2C–2D, 2E–4D, 4E–4F, 50–7E, 7F | Latin Extended-A (00–7F) |
| 8F, 92, B7, DE-EF, FA–FF | Latin Extended-B (80–FF ...) | |
| 02 | 18–1B, 1E–1F | Latin Extended-B (... 00–4F) |
| 59, 7C, 92 | IPA Extensions (50–AF) | |
| BB–BD, C6, C7, C9, D6, D8–DB, DC, DD, DF, EE | Spacing Modifier Letters (B0–FF) | |
| 03 | 74–75, 7A, 7E, 84–8A, 8C, 8E–A1, A3–CE, D7, DA–E1 | Greek (70–FF) |
| 04 | 00–5F, 90–91, 92–C4, C7–C8, CB–CC, D0–EB, EE–F5, F8–F9 | Cyrillic (00–FF) |
| 1E | 02–03, 0A–0B, 1E–1F, 40–41, 56–57, 60–61, 6A–6B, 80–85, 9B, F2–F3 | Latin Extended Additional (00–FF) |
| 1F | 00–15, 18–1D, 20–45, 48–4D, 50–57, 59, 5B, 5D, 5F–7D, 80–B4, B6–C4, C6–D3, D6–DB, DD–EF, F2–F4, F6–FE | Greek Extended (00–FF) |
| 20 | 13–14, 15, 17, 18–19, 1A–1B, 1C–1D, 1E, 20–22, 26, 30, 32–33, 39–3A, 3C, 3E, 44, 4A | General Punctuation (00–6F) |
| 7F, 82 | Superscripts and Subscripts (70–9F) | |
| A3–A4, A7, AC, AF | Currency Symbols (A0–CF) | |
| 21 | 05, 13, 16, 22, 26, 2E | Letterlike Symbols (00–4F) |
| 5B–5E | Number Forms (50–8F) | |
| 90–93, 94–95, A8 | Arrows (90–FF) | |
| 22 | 00, 02, 03, 06, 08–09, 0F, 11–12, 15, 19–1A, 1E–1F, 27–28, 29, 2A, 2B, 48, 59, 60–61, 64–65, 82–83, 95, 97 | Mathematical Operators (00–FF) |
| 23 | 02, 0A, 20–21, 29–2A | Miscellaneous Technical (00–FF) |
| 25 | 00, 02, 0C, 10, 14, 18, 1C, 24, 2C, 34, 3C, 50–6C | Box Drawing (00–7F) |
| 80, 84, 88, 8C, 90–93 | Block Elements (80–9F) | |
| A0–A1, AA–AC, B2, BA, BC, C4, CA–CB, CF, D8–D9, E6 | Geometric Shapes (A0–FF) | |
| 26 | 3A–3C, 40, 42, 60, 63, 65–66, 6A, 6B | Miscellaneous Symbols (00–FF) |
| F0 | (01–02) | Private Use Area (00–FF ...) |
| FB | 01–02 | Alphabetic Presentation Forms (00–4F) |
| FF | FD | Specials |
Adoption
See also: UTF-8 § Implementations and adoption
UTF-8 is a form of Unicode that has been the most common way to store text on the World Wide Web since 2008. Almost all web content uses it. Most of the other content uses other Unicode forms, such as UTF-16. As of 2024, UTF-8 is used on about 98.3% of web pages, and on 983 of the 1,000 most popular web pages. UTF-8 was designed to include 8-bit ASCII. More than a third of the languages tracked use UTF-8 for all of their text. All internet rules maintained by the Internet Engineering Task Force, such as File Transfer Protocol (FTP), have required UTF-8 support since the RFC was published in 1998. Email uses MIME, Base64, and Quoted-printable for Unicode, but email has been slow to adopt it. Some East Asian text is still encoded in ISO-2022, though support is getting better. Many large free mail services, such as Yahoo Mail, Gmail, and Outlook.com, support it. All W3C recommendations have used Unicode since HTML 4.0, and Web browsers have supported it for many years. Older versions of Internet Explorer did not show many characters unless they were told to use a font that contains them. Characters in web addresses such as URIs, URLs, and HTTP requests must be percent-encoded if they are not ASCII. Many free and paid fonts based on Unicode are easy to find, including TrueType, OpenType, and Web Open Font Format (WOFF and WOFF2). Unicode also partly solves the newline problem. It defines many characters that programs should recognize as line endings.
Unicode has become the main way that computers process and store text, and it is used almost everywhere in new systems. Early adopters used UCS-2 and later switched to UTF-16. The best-known example is Windows NT and its later versions, including Windows 2000, XP, Vista, Windows 7, Windows 8, Windows 10, and Windows 11, which all use UTF-16. The Java and .NET environments, macOS, and KDE also use it. UTF-8, which was first developed for Plan 9, is the main storage format on most Unix-like operating systems. It is also the most common Unicode format on web pages. Some systems that display Unicode text include Uniscribe and DirectWrite for Microsoft Windows, ATSUI and Core Text for macOS, and Pango for GTK+ and the GNOME desktop. Keyboards cannot have a simple key combination for every character, so several systems offer other ways to type characters. These include methods standardised in ISO/IEC 14755 and online tools based on Shape context.
Issues
Main article: Han unification
Further information: Tamil All Character Encoding
Main article: Combining character
See also: Unicode normalization § Normalization
The Ideographic Research Group gives advice to the Unicode Consortium and ISO about Han unification. This means deciding when Chinese characters that look different only in handwriting or font style should share one code. It has been one of the most discussed parts of the standard since the project began. Some people say Unicode does not include some rare and old kanji forms. This can make old and uncommon Japanese names harder to write on computers. The first version had fewer than 21,000 Han characters. As of version 17.0, it has more than 101,000, and more are still being added, mostly from the Sinosphere. Some older systems, such as the TRON Code and CCCII, show regional style differences, but they have their own problems.
Some characters look almost the same as others. This means people can use them to trick others with fake web addresses or names. In 2021, researchers gave a problem the name "Trojan Source." They showed that hidden text-direction marks could make computer code do something different from what it seems to do. Unicode also had to work with older character sets, such as Shift-JIS, which sometimes caused mismatches when text was converted. Some writing systems, like Tamil and Devanagari, have limited space in the standard. The Thai alphabet also stores some vowels in a different order than other scripts. Finally, once a character name is published, it cannot be changed. This means even spelling mistakes in names stay the same.

Quiz time!
4 questions about Unicode
What is Unicode?
Pictures
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Unicode, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.