StringMash.com

A stray  is a broken space

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

28 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. Â[no-break space] → (no-break space) (U+00A0): bytes C2 A0
  3. £ → £ (U+00A3): bytes C2 A3
Printable chart

What  means

A stray  before a space is a broken non-breaking space, the invisible character that keeps two words on the same line. In UTF-8 it's C2 A0. Windows-1252 shows C2 as  and A0 as a space, so the space survives and a mysterious  appears in front of it.

WHY IT HAPPENS

Byte by byte

(no-break space) (U+00A0) in UTF-8, and what Windows-1252 makes of each byte
ByteIn UTF-8Windows-1252 shows
C2lead byte: 2 bytes in allÂ
A0continuation byte[no-break space]

Broken twice, or on a Mac

Other ways (no-break space) 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)Â[no-break space]Yes
The same mistake made twiceÂÂ[no-break space]Yes
Saved as UTF-8, read as Mac OS Roman No

Where you probably saw it

Text copied from web pages, which use non-breaking spaces between numbers and units or around punctuation.

Prices, where £ (a broken £) often appears beside it.

Emails and documents that use non-breaking spaces for layout.

Related sequences

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

Questions

Why is there an  before spaces in my text?

Those spaces are non-breaking spaces, C2 A0 in UTF-8. Read as Windows-1252, the C2 shows as Â.

What about £?

A broken £. The pound sign is C2 A3 in UTF-8, so it gets the same stray Â.

Can I turn the non-breaking spaces into normal ones?

Yes. Set No-break spaces to Make ordinary spaces.

What does ÂÂ[no-break space] mean?

It's the non-breaking space broken twice. Text already showing Â[no-break space] 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 the non-breaking space 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 non-breaking space.

Sources

Added . Last updated and reviewed . What's new