http://www.perlmonks.org?node_id=11127065

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to replace <tags> in a document. I noticed something interesting:

if I do 'more FOO.txt' I see:

<93> abcde <94>
if I view the same file with ptked or gedi, I see:
\x{93} abcde \x{94}
SOOO, is the 'more' filter correct or is the editor written in PERL correct?

I want to convert the stupidness to plain ASCII(?) punctuation marks so the grammar is correct, it looks better, and I can search with a perl/ptk program I am writing. Has someone already written a program to do this?

I have already figgered out how to convert the EOL chars to "/n" .