New submission from Uli Kunitz <uli.kun...@googlemail.com>: If one wants to use the encoding parameter of ElementTree.write() the file must be opened with "wb". Without encoding parameter normal files can be used, but the should be opened with the encoding "UTF-8", because otherwise this may create an error.
Probably comparable problems exist with the parser side of things. ---------- components: XML messages: 112550 nosy: kune priority: normal severity: normal status: open title: xml.etree.ElementTree.write(): encoding handling problems versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9458> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com