é instead of é: recognize and fix broken accents

Does your text show é instead of é, ñ instead of ñ or ü instead of ü? Then UTF-8 text was read as Windows-1252 – the characters aren’t lost. Paste the text above or drop in the file, and Mojibuster repairs it right away.

Works with text and these files:

  • CSV
  • TXT
  • JSON
  • XML
  • SRT
  • VTT
  • SMI
  • TSV
  • MD
  • HTML
  • SQL
  • LOG

For example Excel exports, database dumps, subtitles or website code.

Repair

  1. Drop a file or paste text
  2. It gets repaired automatically
  3. Copy or download
or simply drag a file here

Why é turns into two characters

In UTF-8, every accented letter takes two bytes – é is C3 and A9. A program that reads the file as Windows-1252 turns each byte into a character of its own: C3 becomes Ã, A9 becomes ©. That’s why nearly all broken accents start with à – the second character tells you which letter was meant.

A sentence saved as UTF-8 and read as Windows-1252

Before

Café crème at the résumé workshop – señor Müller’s naïve idea.

After

Café crème at the résumé workshop – señor Müller’s naïve idea.

The most common patterns

  • é → é, è → è, ê → ê
  • á → á, ó → ó, ú → ú, ñ → ñ
  • ç → ç, ü → ü, ö → ö
  • É → É, Ç → Ç
  • € → €, ’ → ’, “ → “ – more on broken apostrophes and quotes

The full table is further down. If the garbage looks longer, like é, the text is double-encoded – Mojibuster fixes that too. If it starts with √ instead of à (√©), the text comes from a Mac.

What does é, ü or ’ mean?

Nothing by itself – it is the two UTF-8 bytes of one accented letter shown as two separate characters. à is always the first byte C3; the second character tells you the letter: © stands for é, ¼ for ü, ± for ñ, § for ç. If the garbage starts with â€, it wasn't a letter but a typographic character: ’ is an apostrophe, “ and †are quotes, – a dash, … an ellipsis, € the euro sign. More on the page about broken apostrophes and quotes.

Better not to replace by hand

You could find-and-replace é with é. That only works as long as you know every error: à followed by a non-breaking space is a broken à, but a lone à can also be a real à in a Portuguese name. Mojibuster checks every spot byte by byte and only changes what is clearly broken.

Where the problem comes from

Common broken characters

What garbled characters typically look like – and what they should say.
Broken Correct
éé
èè
àà
çç
ññ
üü
öö
’’
““
––
——
……
€€
塡

Frequently asked questions

Are my characters lost?

No. é still holds exactly the bytes of é, and Mojibuster turns them back. Characters are only lost once a program has replaced them with ? or � – more on question marks instead of characters.

Why do I see à followed by a space?

That’s usually a broken à: its second byte is a non-breaking space in Windows-1252. If copying turned it into a normal space, the spot is no longer unambiguous, and Mojibuster leaves it alone.

Can I repair a whole file?

Yes. Drop CSV, TXT, JSON or SQL files up to 100 MB into the box above. The file stays on your device.

What if an à in my text is correct?

Real words with Ã, like Portuguese SÃO, are left alone – Mojibuster only repairs what is clearly broken. If something was converted wrongly after all, switch it off in “Check closely”: every change such as é → é has its own checkbox there.

More guides