Extended ASCII and Code Pages
What you'll learn: How computers expanded the original 7-bit ASCII to support more characters and different languages.
Beyond the Original 127 Characters
Remember that standard ASCII uses 7 bits, giving us 128 possible characters (0–127). But computers actually work with 8-bit bytes, which can represent 256 values (0–255). What happened to those extra 128 slots?
Extended ASCII: Using the Full Byte
Extended ASCII takes advantage of all 8 bits, adding characters numbered 128–255. These extra positions were used for additional symbols like:
- Accented letters (é, ñ, ü)
- Currency symbols (£, ¥)
- Box-drawing characters (┌, ─, │)
- Mathematical symbols (±, ÷)
Think of it like unlocking a second page in a catalog that was always there but unused.
The Problem: Code Pages
Here's where it gets messy. Different regions needed different characters. Spanish speakers needed ñ, Germans needed ü, Russians needed Cyrillic letters. Since we only had 128 extra slots, code pages were invented—different mapping tables for positions 128–255.
- Code Page 437: Original IBM PC (American English)
- Code Page 850: Western European languages
- Code Page 1252: Windows Western European
- Code Page 866: Russian Cyrillic
Same binary number, different character depending on which code page you used! Sending text between systems using different code pages would produce gibberish—your ñ might display as a random box-drawing character on someone else's screen.
This regional puzzle was like everyone agreeing on the first half of a dictionary but printing completely different second halves.
Key Takeaway: Extended ASCII used all 8 bits of a byte for 256 characters, but different code pages mapped positions 128–255 differently for various languages, creating compatibility headaches that later standards would need to solve.