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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, flox, uis
Date 2010-08-26.15:17:59
SpamBayes Score 0.004024227
Marked as misclassified No
Message-id <1282835882.08.0.247034356823.issue9692@psf.upfronthosting.co.za>
In-reply-to
Content
IMO the code is not correct: how does ElementTree know which encoding is used for the attribute value?  Even 2.5 prints a different content when the script is saved with a different encoding.

The line should look like:
    oDoc.set( "ATTR", u"ÄÖÜ" )
or use ascii-only characters.
History
Date User Action Args
2010-08-26 15:18:24amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, uis, flox
2010-08-26 15:18:02amaury.forgeotdarcsetmessageid: <1282835882.08.0.247034356823.issue9692@psf.upfronthosting.co.za>
2010-08-26 15:18:00amaury.forgeotdarclinkissue9692 messages
2010-08-26 15:17:59amaury.forgeotdarccreate