in reply to encoding failure with XML::Twig
Looking into it some more, XML::Parser::Expat has its own decoding maps. These must be in a directory listed in @XML::Parser::Expat::Encoding_Path. (See the XML::Parser::Expat source for how it's initialised.)
On my system, the decoding maps are located in /usr/lib/perl5/XML/Parser/Encodings/, which is relative to the directory where XML::Parser is installed (/usr/lib/perl5/XML/Parser.pm).
They are part of the XML-Parser distribution (along with XML::Parser and XML::Parser::Expat).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: encoding failure with XML::Twig
by chastevens (Initiate) on Nov 19, 2009 at 19:44 UTC |