Character Encoding: ASCII and Unicode
Character encoding distinguishes character identity from stored representation.
Summary
Character encoding distinguishes character identity from stored representation. ASCII assigns -bit codes to values, covering English letters, digits, punctuation, and control characters. Unicode assigns code points across writing systems and symbols, ranging from U+0000 through U+10FFFF. Surrogate code points U+D800 through U+DFFF are excluded from Unicode scalar values.
| Standard or encoding | Role | Representation |
|---|---|---|
| ASCII | Limited character repertoire and codes | Values from through |
🧠 Key Concepts
- Unicode code points
- Unicode scalar values
- ASCII compatibility
- UTF-8 encoding
- UTF-16 surrogate pairs
- Grapheme clusters
- Unicode normalization
- Encoding and decoding
- String length
- Mojibake
🧠 Quick Check
See what you remember from the summary.
Which best describes the relationship between Unicode code points and UTF-8?
🧠 Flashcards Preview
Tap a card to reveal the definition.
Ready to quiz yourself?
Test what you remember with a full practice quiz on this note. Create a free account and start in seconds.
Full Notes
Read the original note content before deciding whether to save or study from it.
Character Encoding: ASCII and Unicode
📘 Overview ASCII assigns numeric codes to a small character set, while Unicode assigns code points to characters across writing systems and symbols. UTF-8 and UTF-16 define how Unicode text is represented as code units and stored as bytes.
🧠 Key Idea Unicode code points identify characters; encoding forms such as UTF-8 determine their stored representation. A character, a code point, and a byte are not interchangeable units.
⚔️ Core Details: - ASCII uses -bit codes for values covering English letters, digits, punctuation, and control characters. - Unicode defines code points from U+0000 through U+10FFFF; surrogate code points U+D800 through U+DFFF are excluded from Unicode scalar values. - UTF-8 represents each Unicode scalar value with to
More ways to study when you copy this note
Copy this note into your library to unlock focused practice sessions and long-term review.
Answer all questions first, then see feedback at the end — the way real exams work.
Focuses each session on what you got wrong, not what you already know.
Full timed exam with all questions, no pausing, and results at the end. Built for board exam prep.
Part of 🗄️ BS Information Systems — 1st Year
Browse this Review Set →More Computer Science notes
See all →More in Computer Science
See all →More from NoteLib
Browse NoteLib's public notes →Copy this note to your library and get the full Study Pack instantly — summary, key concepts, and practice quiz included.