Unicode: Universal Character Set
What you'll learn: How Unicode solves the problem of representing every writing system in the world with a single, unified standard.
The Problem Unicode Solves
You learned that ASCII uses 7 bits to represent 128 characters—enough for English letters, digits, and common symbols. Extended ASCII and code pages added another 128 characters for regional languages, but this created chaos: the same binary number meant different characters depending on which code page you used. A document written in Russian looked like gibberish when opened with a Greek code page.
Unicode's Universal Approach
Unicode was created to give every character from every writing system its own unique number, called a code point. Think of it like assigning every person on Earth a unique ID number—no two people share the same number, no matter where they live.
While ASCII stops at 127, Unicode can represent over 1 million possible characters. It includes:
- Latin alphabet (English, Spanish, French...)
- Cyrillic (Russian, Bulgarian...)
- Asian scripts (Chinese, Japanese, Korean...)
- Arabic, Hebrew, Hindi...
- Even emoji! 😊
How Code Points Work
Unicode assigns each character a code point written as U+ followed by hexadecimal digits. For example:
U+0041= Latin letter "A" (same as ASCII 65)U+03B1= Greek letter "α" (alpha)U+4E2D= Chinese character "中"
Notice Unicode keeps ASCII compatible—the first 128 code points match ASCII exactly.
The Unification
Instead of dozens of incompatible code pages, Unicode provides one universal catalog. A Russian document and a Japanese document can now exist in the same file without conflict, because each character has its own distinct code point.
Key Takeaway: Unicode assigns a unique code point to every character across all world writing systems, replacing the fragmented code page system with one universal standard.