Glossary

Unicode

Unicode Standard

Unicode is a universal character standard that assigns code points to text characters and symbols from writing systems worldwide.

Definition

Unicode is a standard for representing text from many writing systems, together with symbols, emoji, and control characters. It assigns each encoded element a code point written as U+ followed by hexadecimal digits, such as U+0041 for A and U+20AC for .

A code point is an abstract number, not a byte sequence. Encodings such as UTF-8, UTF-16, and UTF-32 define how Unicode code points are stored or transmitted as bytes.

Code points and encodings

Unicode code points range from U+0000 through U+10FFFF, with some ranges reserved or unassigned. UTF-8 uses one byte for ASCII characters and two to four bytes for other assigned code points; UTF-16 uses one or two 16-bit code units.

ASCII is included in Unicode: its values 0 through 127 have the same code points and the same single-byte representation in UTF-8.

Practical example

The character is code point U+20AC. In UTF-8 it is stored as the three bytes E2 82 AC; in a source format it may also appear through an escape notation. These are different representations of the same code point.

User-perceived characters do not always equal one code point. The visible é may be U+00E9 or a sequence of U+0065 and combining U+0301.

Normalization and pitfalls

Unicode normalization converts equivalent sequences to a chosen standard form, which helps comparison and searching. It must be applied deliberately because visually similar characters can also be genuinely different.

Fonts determine how available characters look, and some emoji or scripts combine several code points into one grapheme. Counting bytes, code points, and visible characters can therefore produce different results. Unicode representation is encoding, not encryption.

Frequently asked questions

No. Unicode defines characters and code points; UTF-8 is one method for encoding those code points as bytes.

There is no single answer. In UTF-8 an encoded code point uses one to four bytes, while a visible grapheme may contain several code points.

They may use different but canonically equivalent code-point sequences, such as a precomposed letter and a letter plus combining mark. Appropriate Unicode normalization can align them.

See also
Related tools
Related terms