StringMash.com

ñ is a broken ñ

Your text was saved as UTF-8 and read as Windows-1252. Paste it below and it's put right.

33 characters
Updates as you type

Correct text is left as it is

Show the steps
  1. Each garbled run was turned back into the bytes Windows-1252 showed, then read as UTF-8, as it should have been.
  2. ñ → ñ (U+00F1): bytes C3 B1
Printable chart

What ñ means

ñ is a broken ñ (ñ): your text was saved as UTF-8 but read as Windows-1252. It's ñ, the n with a tilde, a letter of the Spanish alphabet in words like año, señor and España. In UTF-8 it's C3 B1, and Windows-1252 shows those bytes as à and ±.

WHY IT HAPPENS

Byte by byte

ñ (U+00F1) in UTF-8, and what Windows-1252 makes of each byte
ByteIn UTF-8Windows-1252 shows
C3lead byte: 2 bytes in allÃ
B1continuation byte±

Broken twice, or on a Mac

Other ways ñ gets garbled, and whether this page's fixer undoes them
What happenedWhat you seeFixed here?
Saved as UTF-8, read as Windows-1252 (this page)ñYes
The same mistake made twiceñYes
Saved as UTF-8, read as Mac OS RomanñNo

Where you probably saw it

Spanish text and names: Peña, Muñoz, Núñez.

Address lists and mailing labels, where a surname or a street name comes out wrong.

Spreadsheets of Spanish-language data opened in Excel.

Related sequences

Text broken this way rarely has just one problem. á is a broken á, é is a broken é, ü is a broken ü. The mojibake fixer repairs all of them at once, and its table lists the rest.

Questions

What does ñ mean?

It's a broken ñ: the UTF-8 bytes C3 B1 read as Windows-1252, which shows B1 as ±.

Why does it matter so much in Spanish?

Some words change meaning without the tilde, so a garbled ñ is worth fixing rather than dropping.

Can I fix a whole list of names at once?

Yes. Paste the whole list above.

What does ñ mean?

It's ñ broken twice. Text already showing ñ was saved as UTF-8 again and misread again, so each of those characters turned into two or three more. The fixer above repeats the repair until nothing is left to undo, so it fixes this too.

What about ñ?

That's ñ read by older Mac software, which used the Mac OS Roman character set instead of Windows-1252. The same UTF-8 bytes come out as different characters. The fixer here only undoes the Windows-1252 mistake, so for this one open the file again as UTF-8, or retype the ñ.

Sources

Added . Last updated and reviewed . What's new