more useful options | |
PerlMonks |
Re^2: Problem reading £ sign with XML::Simpleby gothic_mallard (Pilgrim) |
on Apr 27, 2005 at 09:45 UTC ( [id://451878]=note: print w/replies, xml ) | Need Help?? |
I've tried a few different encodings in the original file with the <?xml version='1.0' encoding='blah'?> declaration: iso-8859-1, utf8 and utf16 (although the latter refused to parse the file). The data isn't being output by XML::Simple, rather it's coming out such as:
Where as an example the XML is:
i.e. The values are being pulled out individually and inserted into a new file (which in the real case ends up producing a PDF, but the same behaviour occurs if I drop the values into a plain ASCII file or a HTML doc) Now I need to find a version of Text::Iconv that I can use on my system (ActivePerl 5.6.1 (Build 638) MSWin32-x86-multi-thread) All code is untested unless otherwise stated.
s++blah+;y(bl) .j.s;s+(h)+p$1+;???print:??;
In Section
Seekers of Perl Wisdom
|
|