| 1 |
Source: libhtml-encoding-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Build-Depends: debhelper-compat (= 13) |
| 5 |
Build-Depends-Indep: libhtml-parser-perl, libwww-perl, perl, libtest-pod-perl, libtest-pod-coverage-perl |
| 6 |
Maintainer: Debian Perl Group <[email protected]> |
| 7 |
Uploaders: Florian Schlichting <[email protected]> |
| 8 |
Standards-Version: 4.1.5 |
| 9 |
Homepage: https://metacpan.org/release/HTML-Encoding |
| 10 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhtml-encoding-perl |
| 11 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhtml-encoding-perl.git |
| 12 |
Testsuite: autopkgtest-pkg-perl |
| 13 |
|
| 14 |
Package: libhtml-encoding-perl |
| 15 |
Architecture: all |
| 16 |
Depends: ${misc:Depends}, ${perl:Depends}, libhtml-parser-perl, libwww-perl |
| 17 |
Description: perl module determining the encoding of HTML/XML/XHTML documents |
| 18 |
HTML::Encoding helps to determine the encoding of HTML and XML/XHTML |
| 19 |
documents. It can export the following functions: |
| 20 |
. |
| 21 |
encoding_from_content - Extracts charset from the Content-Type header value. |
| 22 |
encoding_from_byte_order_mark - Read byte order mark from an octet sequence. |
| 23 |
encoding_from_xml_declaration - Extract encoding XML or text declaration. |
| 24 |
encoding_from_first_chars - Can be useful to distinguish UTF-16LE from UTF-8. |
| 25 |
encoding_from_meta_element - Looks at <meta http-equiv=Content-Type.....>. |
| 26 |
encoding_from_xml_document - A best guess from a list of suspected encodings. |
| 27 |
encoding_from_html_document - A best guess from a list of suspected encodings. |
| 28 |
encoding_from_http_message - Takes an HTTP::Message and returns the encoding. |