Skip to content
uencoder

Unicode

Unicode is the international character encoding standard that assigns a unique code point (U+0000 through U+10FFFF) to every character of nearly all the world's writing systems, with a codespace of 1,114,112 code points.

Purpose

It replaces fragmented regional encodings with a single character set covering global scripts, eliminating mojibake and transcoding burdens.

Mechanism

Code points are written U+XXXX and divided into 17 planes. Code points must pass through an encoding form (UTF-8/16/32) to become bytes. Characters can carry combining marks, so the same visual character may correspond to multiple code point sequences (requiring NFC/NFD normalization).

Use cases

  • Multilingual web content and database storage
  • Internationalization (i18n) and localization (l10n)
  • Emoji and symbol rendering
  • Cross-platform text exchange

Examples

  • Input
    é
    Output
    U+00E9

    The code point of é (Latin small letter e with acute)

Common errors

Truncating a string by character count and splitting a surrogate pair
Use surrogate-pair-aware APIs such as Intl.Segmenter

Related terms

Related tools

References