for perl wizards.
kline at thought.org
Fri Oct 9 08:35:25 UTC 2009
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
hex back into ', ", -- [that's a dash), and so forth. Why does
this fail to trans the hex code to an apostrophe?
perl -pi.bak -e 's/\xe2\x80\x99/'/g'
If there any another other tools, I'm interested!
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
The 5.67a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions