Python: parse an XML in Windows-1251 encoding
When I try to parse XML with lxml like this:

    tree = etree.parse('xml.xml')

I get the following error:

    lxml.etree.XMLSyntaxError: Unsupported encoding windows-1251

How can I read data from an XML with this encoding?

Thank you
Python: parse an XML in Windows-1251 encoding
===

When I try to parse XML with lxml like this:

    tree = etree.parse('xml.xml')

I get the following error:

    lxml.etree.XMLSyntaxError: Unsupported encoding windows-1251

How can I read data from an XML with this encoding?

Thank you