On Thu, Dec 16, 2010 at 5:30 PM, Bill Horne <[email protected]> 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. _______________________________________________ Discuss mailing list [email protected] http://lists.blu.org/mailman/listinfo/discuss
