[lxml-dev] Any way to pass encoding to html.html_parser?

js ebgssth at gmail.com
Wed Sep 26 17:36:47 CEST 2007


Hello.

A simple question about lxml2.0alpha3's new feature.

>    * Parsers accept an 'encoding' keyword argument that overrides the
>     encoding of the parsed documents.

How can I pass encoding argument to the parser when using html.parse instead of
etree.parse?


More information about the lxml-dev mailing list