Re: encoding problem?

2007-09-28 Thread braedsjaa
Thanks, that sounds hopeful... at least it does something, though still not right! After reading perldoc Encode::Supported I think maybe I threw myself in at the deep end. (MacRoman is the encoding I _think_ I mean). I am off on another track for now and will return to Perl another day. -- To

encoding problem?

2007-09-27 Thread braedsjaa
I am trying to use perl on the command line to process text files in various ways, one of which is to decode html entities. As far as I can see, the following line should work perl -MHTML::Entities -p -e 'decode_entities($_)' input.txt output.txt it does indeed change the html entities, but not