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  kl...@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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to