GCSE · Computer Science · OCR · Spec J277
Unicode
Send an emoji to a system that uses only ASCII and you may get a plain rectangle: it has no record of the character. So can Unicode still read ASCII?
Follow one character
Where does the rectangle come from?
A character arrives on screen. Choose what the system uses, then choose the character. Guess what appears before you tap the final branch, then try all six routes.
Character set → Character
Two things decide what you see: which character set the system uses, and which character it is.
6 routes from character to screen.
Why share a character set?
Reason it through
Why does it matter that every device uses the same character set?
First link · your turn
A computer stores text as binary. What does a character set give it?
Why so many more characters?
No calculator needed. Just think about what one extra bit does.
ASCII uses 7 bits, which gives 128 different characters. A character set uses 8 bits instead. How many different characters can it represent?
Sort the characters
Which characters need Unicode?
Pick a character, then pick where it belongs. Read the reason each time.
Still to sort
In ASCII's 128 (0)
Characters that have one of ASCII's 128 sequences
Where the line is: ASCII works with Western alphabets only, so being a letter isn't enough: it has to be one of the 128.
Needs Unicode (0)
Characters ASCII has no record of
Where the line is: A Unicode system can show these and everything in the other column, because its first 128 characters match ASCII's.
OCR GCSE Computer Science (J277), section 1.2.4: character sets (Unicode and ASCII).
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Why does a plain rectangle sometimes turn up where a character should be? Find out what Unicode adds to ASCII, and why it can still read it.
What you need to know
- A character set matches each character to its own unique binary sequence.
- Computers use the same character set so one binary sequence matches the same character on every device.
- ASCII (American Standard Code for Information Interchange) uses seven bits per character, giving 128 possible characters (2⁷).
Have a goPriya says: 'ASCII uses 7 bits, so it can only have 7 characters.' Where has she gone wrong?
The 7 counts the bits in one sequence, not the characters. Seven bits make 128 different sequences.
Priya has mixed up the length of a sequence with the number of different sequences. Each sequence is seven bits long, and there are 2⁷ = 128 of them.
- ASCII is specified for Western alphabets only, so it can't represent languages such as Urdu or Mandarin Chinese.
- It can't cover all the other symbols computers need either, such as mathematical symbols and emojis.
- Unicode uses up to 32 bits (four bytes) per character, so it can represent many more characters than ASCII.
- n bits give 2ⁿ possible sequences, so each extra bit doubles the number of characters a set can represent.
Have a goA tiny character set uses 6 bits for each character. How many different sequences can it make, and so how many characters?
64, which is 2⁶.
Six bits, six doublings: 2 × 2 × 2 × 2 × 2 × 2 = 64. Adding 6 + 6 or doing 6 × 2 would give 12, far too few.
- Unicode is compatible with ASCII: its first 128 characters are the same as ASCII's 128.
- So a system that uses Unicode can still display ASCII characters correctly.
Have a goA Unicode system and an ASCII-only system both receive a message made only of ASCII characters. Which one will struggle to display it?
Neither. Both have a record of every character in it.
Every ASCII character is also one of Unicode's first 128, so both systems have a record of it. The trouble only starts with characters outside ASCII.
- An ASCII-only system shows Unicode characters it has no record of as missing characters, such as rectangles.
The big picture
A character set matches characters to unique binary sequences, and devices need to use the same one so a sequence means the same character everywhere. ASCII uses seven bits per character, which gives 128 characters, for Western alphabets only. Unicode uses up to 32 bits (four bytes) per character, so it can represent many more, including characters from other languages and symbols such as mathematical symbols and emojis. Its first 128 characters are the same as ASCII's, so a Unicode system can still display ASCII characters correctly. An ASCII-only system shows Unicode characters it has no record of as missing characters, such as rectangles.
Key points
Worked example
Problem
A designer invents a character set that uses 9 bits per character. How many different characters can it represent? How does that compare with ASCII's 128?
⚠ Watch out
Thinking Unicode replaced ASCII, so a Unicode system can't read ASCII text. Unicode's first 128 characters are the same as ASCII's, so it can. The trouble goes the other way: an ASCII-only system has no record of Unicode's extra characters.
Memory hook
No record, no character. A rectangle means the system has no record of that character. Unicode holds ASCII's 128 and many more, so Unicode can read ASCII, but ASCII can't read Unicode's extras.
Check yourself
Cover the page. Explain why an ASCII-only system might show a rectangle for an emoji, while a Unicode system shows the emoji and ASCII text.
Flashcards
(11)What does a character set do?
Why do computers need to use the same character set?
What does ASCII stand for?
How many bits does ASCII use for each character, and how many characters does that give?
What is ASCII specified to work with?
Name two kinds of character ASCII cannot represent.
How many bits can Unicode use for each character?
What does each extra bit do to the number of characters a set can represent?
What does it mean that Unicode is compatible with ASCII?
What can a Unicode system do with an ASCII character?
What does an ASCII-only system show for a Unicode character it has no record of?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
- Optical storage
- Purpose of RAM
- Purpose of ROM
- RAM vs ROM
- Sample rate, duration, bit depth
- Solid state storage
- Sound representation: sampling
- Storage characteristics: capacity, speed, portability, durability, reliability, cost
- Suitable storage for application
- Units of data: bit, nibble, byte
- Virtual memory
- Why data is stored in binary
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.