Subject: | charset detection in decode_content not working |
from HTTP::Message:
my $charset = lc(
$opt{charset} ||
$self->content_type_charset ||
$opt{default_charset} ||
$self->content_charset ||
"ISO-8859-1"
);
content_type_charset can only contains "text/html" without encoding
informationen. But content_charset detect the right encoding from the
meta-informations. But that is to late. And iso-8859-1 will then be
blocked by the hardcoded list!
I dont understand the code exactly, in content_charset it first calls
$self->content_type_charset, but that returns different from my
$obj->content_type_charset.