Since we are in stupid question mode.

Ted Roche tedroche-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Dec 16 19:33:01 EST 2010


On Thu, Dec 16, 2010 at 5:30 PM, Bill Horne <ehorne-zY4eFNvK5D9If6P1QZMOBw at public.gmane.org> wrote:
>
> That should be an easy fix: just seach-and-replace all <Winblow-1252>
> non-breaking space characters with "& nbsp ;" (remove two spaces).
>

A quick Google suggests:

perl -pe 's/\xA0/ /g' infile > outfile

Cite: http://www.tech-karma.com/forum/other-operating-systems/unix/script-remove-non-breaking-space-file

Though for an HTML file, you'll likely want to use the
ampersand-nbsp-semicolon as Bill suggests (or
ampersand-hash-160-semicolon if you need properly XML-escaped
characters) substituting for the blank space between the slashes.




More information about the Discuss mailing list