in reply to Need some encoding help
XML::Simple will also take a string instead of a filehandle, so you could slurp in the file, do a quick patch of the XML header to correct the encoding specification and then pass the text to XML::Simple.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Need some encoding help
by jalewis2 (Monk) on Dec 03, 2010 at 01:07 UTC | |
by roboticus (Chancellor) on Dec 03, 2010 at 11:24 UTC |