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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to