Real-World Example: The Mojibake Problem

Test yourself on Character Sets with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Character SetsGet your flashcardsBuild my revision planTrack my progress

Real-World Example: The Mojibake Problem

Scenario: Your friend sends you a message: "Café resumé"

  • Friend's system: Saves in UTF-8 (é = 2 bytes: 0xC3 0xA9)
  • Your system: Reads as ASCII (each byte = one character)
  • Result: "Café resumé" (scrambled - this is called mojibake)

Why? Mismatch between encoding (UTF-8) and decoding (ASCII). The bytes 0xC3 0xA9 mean 'é' in UTF-8, but 'é' in ASCII.

Solution: Both systems must use the same character set (UTF-8 is now the web standard).

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.