Tinker Text and Unicode

by Samy (Kondasamy Jayaraman)

4 bytes punched, read with UTF-8.

Chapter 4 of 7

The wrong table

The punch writes UTF-8 and the bytes are right, yet the warehouse label says “Zoë”.

This chapter: What happens when the reader uses a different table from the writer?

About this chapter

You will learn

  • Bytes don’t say which table wrote them
  • UTF-8 read as Latin-1 makes à signs
  • Fix the reader, not the bytes

Words you’ll meet

Latin-1
An old table for Western European text: 256 characters, one byte each.
Mojibake
Garbled text from bytes read with the wrong table; Japanese for “character transformation”.

Step 1 of 5

Rosa punched Zoë in UTF-8. Tom’s label printer reads with an old table, : one character per byte.

Predict what the label prints.

The tape holds “Zoë” in UTF-8. What does a Latin-1 reader print?