Unicode
Subject: Computer and Technology noun /ˈjuː.nɪ.koʊd/ 1 definition
- character-encoding
- data-representation
- text-processing
- computing-standards
-
Definition (noun)
Entry #159 · UpdatedUnicode is a universal character encoding standard maintained by the Unicode Consortium that assigns a unique numeric identifier, known as a code point, to virtually every character, punctuation mark, symbol, and emoji across modern and historical writing systems. Unlike legacy single-byte encodings such as ASCII or regional code pages that conflicted across locales, it defines a single shared codespace spanning
U+0000throughU+10FFFFso text remains unambiguous across platforms, languages, and software layers. Unicode separates the abstract mapping of characters to code points from the concrete byte-level encoding forms used to serialize them in memory, files, and network streams.Common Forms
UTF-8: A variable-width encoding using one to four bytes per code point that remains backward-compatible with 7-bit ASCII and serves as the dominant text format on the web and Unix-like systems.
UTF-16: A variable-width encoding using one or two 16-bit code units per code point, commonly used for internal string representation in Windows APIs, the Java Virtual Machine, and JavaScript runtimes.
UTF-32: A fixed-width encoding that represents every code point as a single 32-bit integer, enabling constant-time code point indexing at the cost of substantially higher memory consumption.
Example
When a user posts a message containing
"Café ☕ 日本語"in a web chat client, the browser encodes the accentedé(U+00E9), hot beverage symbol (U+2615), and Japanese kanji as a UTF-8 byte stream inside a JSON payload. The backend database stores those UTF-8 bytes verbatim and serves them to mobile and desktop clients, which decode the exact same code points into native glyphs without garbled mojibake.