in reply to Re^2: HTML parsing module handles known and unknown encoding
in thread HTML parsing module handles known and unknown encoding

I don't see any way of specifying the encoding of an HTML document, which is weird because XML::LibXML supposedly handles HTML.

The docs of XML::LibXML::Parser says under the heading PARSER OPTIONS that there's a parser option encoding which sets the “character encoding of the input” for HTML.

Replies are listed 'Best First'.
Re^4: HTML parsing module handles known and unknown encoding
by ikegami (Patriarch) on Nov 17, 2011 at 09:56 UTC
    Awesome. Don't know how I missed it.