Bug#758847: updating Encode::ConfigLocal
Robert Stone
talby at trap.mtview.ca.us
Fri Aug 22 01:00:02 UTC 2014
Package: libencode-hanextra-perl
Version: 0.23-3
When I run the Perl code:
use strict;
use warnings;
use HTML::Form ();
my($f) = HTML::Form->parse(q{
<form action="example", method="POST" accept-charset="GB18030">
<input type="hidden" name="example" value="example">
</form>
}, URI->new("http://www.example.com/"));
print $f->click()->as_string();
I am given the error message:
Unknown encoding 'GB18030' at /usr/share/perl5/HTML/Form.pm ...
Installing lbencode-hanextra-perl does not resolve the issue until I
also run "enc2xs -C" so that Encode is informed which module provides
the GB18030 encoding.
It would be great if "enc2xs -C" was run after installation and
after removal of lbencode-hanextra-perl if there isn't some better way
to inform Encode of available encodings. A web crawler application, for
example, is not well suited to know which encoding modules will be
required ahead of time.
More information about the pkg-perl-maintainers
mailing list