Skip to content
BENIBIX Learn

Unicode vs UTF-8

People think Unicode and UTF-8 are two names for one thing, and they are not. Unicode is the list that gives each character a number. UTF-8 is one rule for storing those numbers as bytes. So a file is never saved in Unicode alone. It is saved in UTF-8, or in another encoding of Unicode.

Development📄 Files & Formats

Unicode

One list that gives each letter in each language a number. Emoji too.

Unicode is a world standard. It gives every character its own number. It covers letters from almost every language, plus symbols and emoji. It now holds more than 150,000 characters. A character's number is its code point, written like U+0041 for A. Unicode only picks the numbers, and an encoding such as UTF-8 stores them as bytes.

Example
Emma texts a Persian word and a smiley to Jack. Both phones use Unicode, so he sees exactly what she typed.
Why it matters
Before Unicode, each region had its own codes, and text broke when it moved between them. Now one standard covers it all.
Full entry
Development📄 Files & Formats

8-bit Unicode Transformation Format (UTF-8)

The code that nearly all sites use. It has each language and emoji.

UTF-8 is the character encoding used by almost every web page and modern system. It can store every letter of every language, plus emoji. Plain English letters take 1 byte each, so old English text is still valid. Other letters take 2, 3 or 4 bytes. If you are asked to pick an encoding, UTF-8 is the safe answer.

Example
Emma's shop shows names in English, Persian and Greek on one page. Because the page is UTF-8, every name looks right.
Why it matters
With UTF-8 in all places, names, signs and every language just work.
Full entry

In one line

Unicode
One list that gives each letter in each language a number. Emoji too.
8-bit Unicode Transformation Format (UTF-8)
The code that nearly all sites use. It has each language and emoji.