Source: libhtml-encoding-perl Section: perl Priority: optional Build-Depends: debhelper-compat (= 13) Build-Depends-Indep: libhtml-parser-perl, libwww-perl, perl, libtest-pod-perl, libtest-pod-coverage-perl Maintainer: Debian Perl Group Uploaders: Florian Schlichting Standards-Version: 4.1.5 Homepage: https://metacpan.org/release/HTML-Encoding Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhtml-encoding-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhtml-encoding-perl.git Testsuite: autopkgtest-pkg-perl Package: libhtml-encoding-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libhtml-parser-perl, libwww-perl Description: perl module determining the encoding of HTML/XML/XHTML documents HTML::Encoding helps to determine the encoding of HTML and XML/XHTML documents. It can export the following functions: . encoding_from_content - Extracts charset from the Content-Type header value. encoding_from_byte_order_mark - Read byte order mark from an octet sequence. encoding_from_xml_declaration - Extract encoding XML or text declaration. encoding_from_first_chars - Can be useful to distinguish UTF-16LE from UTF-8. encoding_from_meta_element - Looks at . encoding_from_xml_document - A best guess from a list of suspected encodings. encoding_from_html_document - A best guess from a list of suspected encodings. encoding_from_http_message - Takes an HTTP::Message and returns the encoding.