[issue9522] xml.etree.ElementTree forgets the encoding

Stefan Behnel report at bugs.python.org
Sun Aug 8 09:44:27 CEST 2010


Stefan Behnel <scoder at users.sourceforge.net> added the comment:

I think it makes sense to keep input and output separate. After all, the part of the software that outputs a document doesn't necessarily know how it came in, so having the default output encoding depend on the input sounds error prone. Encoding should always be explicit. My advice is to reject this feature request.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9522>
_______________________________________


More information about the Python-bugs-list mailing list