for perl wizards.

Gary Kline 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!

	tia, guys,

	gary



-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 5.67a release of Jottings: http://jottings.thought.org/index.php



More information about the freebsd-questions mailing list