jalewis2 has asked for the wisdom of the Perl Monks concerning the following question:
I've probably spent too much time working on this and need some outside eyeballs to get me back on track.
I have some xml files that are gzipped, I rotate through the files and open them with a filehandle that pipes them through gunzip. I can pass the filehandle to XML::Simple and process no problem, but an encoding issue has popped up.
The files are supposed to be UTF-8, but the are acutally ISO-8859-1. I figured I could convert them as I processed each file. But the gzip is tripping me up.
Any suggestions on how to gzip and decode on the fly?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need some encoding help
by roboticus (Chancellor) on Dec 02, 2010 at 23:53 UTC | |
by jalewis2 (Monk) on Dec 03, 2010 at 01:07 UTC | |
by roboticus (Chancellor) on Dec 03, 2010 at 11:24 UTC | |
|
Re: Need some encoding help
by zentara (Cardinal) on Dec 03, 2010 at 18:25 UTC |