[issue9458] xml.etree.ElementTree.write(): encoding handling problems

2010-08-03 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +effbot, flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9458] xml.etree.ElementTree.write(): encoding handling problems

2010-08-03 Thread Éric Araujo
Éric Araujo added the comment: Is this a behavior bug or a doc bug? -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list maili

[issue9458] xml.etree.ElementTree.write(): encoding handling problems

2010-08-02 Thread Uli Kunitz
New submission from Uli Kunitz : 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 c