mirror of https://github.com/WikiTeam/wikiteam
Force the lxml factory to pass around unicode strings
Not necessarily the most compatible with downstream XML parsers, but at least should ensure that we manage to write the XML file. The encoding declared in the header is not necessarily the same we get from the API. See also: https://lxml.de/FAQ.html#why-can-t-lxml-parse-my-xml-from-unicode-strings https://lxml.de/3.7/parsing.html#serialising-to-unicode-strings Fixes https://github.com/WikiTeam/wikiteam/issues/363pull/367/head
parent
6dc86d1964
commit
d1619392f4
Loading…
Reference in New Issue