in reply to Re^2: XML::Simple and ISO-8859-1 encoding buggy?
in thread XML::Simple and ISO-8859-1 encoding buggy?
gzip/bzip2/deflate/compress/base64/quoted-printable are all encodings
decoded_content decodes these (and more)
XML::Simple doesn't decode those
https://metacpan.org/pod/HTTP::Message#$mess-%3Edecoded_content(-%options-) also has xml bits, which can be avoided with
shortcut https://metacpan.org/pod/HTTP::Message#$mess-%3Edecode
$LWP_Data->{feed}->decode; my $xml = $LWP_Data->{feed}->content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: XML::Simple and ISO-8859-1 encoding buggy?
by ikegami (Patriarch) on May 29, 2021 at 02:31 UTC |