Skip to content
Sections
>> Trisquel >> Packages >> etiona >> perl >> libhtml-encoding-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libhtml-encoding-perl  ]

Package: libhtml-encoding-perl (0.61-1)

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 <meta http-equiv=Content-Type.....>.
 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.

Other Packages Related to libhtml-encoding-perl

  • depends
  • recommends
  • suggests
  • dep: libhtml-parser-perl
    collection of modules that parse HTML text documents
  • dep: libwww-perl
    simple and consistent interface to the world-wide web
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Download libhtml-encoding-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 19.9 kB100 kB [list of files]