[lxml-dev] lxml parser encodings? What's supported?

Stefan Behnel stefan_ml at behnel.de
Wed Sep 17 21:56:26 CEST 2008


Stefan Behnel wrote:
> John Krukoff wrote:
>> So, I've been trying to deal with some places where I need to force the
>> parser's encoding, and I've been surprised by how little it seems to
>> support. Specifically, 'ascii' isn't a supported encoding:
>
> Here's a fix.

... not a complete one, though. It doesn't work for iterparse(). I'll have to
look into that.

Stefan


More information about the lxml-dev mailing list