Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Since we are in stupid question mode.



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org