This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author uis
Recipients amaury.forgeotdarc, flox, uis
Date 2010-08-26.16:21:04
SpamBayes Score 1.08271e-09
Marked as misclassified No
Message-id <>
Of course, if you use an unicode string it works and of course it would be easy to switch to unicode for this demo code. Unfortunately, the affected application is a little bit more complex and it is not that easy to switch to unicode. I just wonder why the tostring() method does not assume that internal strings are encoded in the explicitly provided encoding? Is ElementTree restricted to the use of unicode strings? Anyway, why was it working (as expected) with python 2.5 & python 2.6?
Date User Action Args
2010-08-26 16:21:05uissetrecipients: + uis, amaury.forgeotdarc, flox
2010-08-26 16:21:05uissetmessageid: <>
2010-08-26 16:21:04uislinkissue9692 messages
2010-08-26 16:21:04uiscreate