[issue10781] minidom Node.writexml method doesn't manage encoding parameter correctly

2010-12-28 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r87532. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue10781] minidom Node.writexml method doesn't manage encoding parameter correctly

2010-12-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: > The last sentence has nothing to do with the report, it was just a general > remark that > it would be nice if minidom could support unicode string directly. minidom most certainly supports Unicode directly. All element names, attribute names, and text nod

[issue10781] minidom Node.writexml method doesn't manage encoding parameter correctly

2010-12-27 Thread Goffi
Goffi added the comment: Thanks for your quick reply The last sentence has nothing to do with the report, it was just a general remark that it would be nice if minidom could support unicode string directly. Should I send a mail to d...@python.org to report the doc issue, or this one is suffi

[issue10781] minidom Node.writexml method doesn't manage encoding parameter correctly

2010-12-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: The documentation is incorrect; writexml does not support an encoding parameter. Only Document nodes support the encoding parameter in writexml, and it is intentional that its only effect is to fill out the XML declaration. I don't understand the last senten

[issue10781] minidom Node.writexml method doesn't manage encoding parameter correctly

2010-12-27 Thread Goffi
New submission from Goffi : G'day, While translating my software to french, I realised that minidom's writexml method doesn't handle "encoding" parameter correctly: it changes the header of the resulting xml, but not the encoding itself (which it should according to the documentation: http://