📄Unicode
Also known as Unicode Standard, Unicode Code Point, Code Point
One list that gives each letter in each language a number. Emoji too.
Think of it like
Think of it like one huge phone book. Each letter in each language gets its own number.
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.
Definition
Example code
console
$ python3 -c "print(hex(ord('é')), hex(ord('😀')))"
0xe9 0x1f600Common mistake
Key takeaways
- 1One number each. Every character gets a code point.
- 2Every language. Plus symbols and emoji.
- 3Not the bytes. An encoding like UTF-8 stores it.