Message 32589 - Python tracker (original) (raw)

Message32589

Author effbot
Recipients
Date 2007-08-07.06:20:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
ET's standard serializer currently only supports ASCII-compatible encodings. See e.g. http://effbot.python-hosting.com/ticket/47 The best workaround for ET 1.2 (Python 2.5) is probably to serialize as "utf-8" and transcode: out = unicode(ET.tostring(elem), "utf-8").encode(...)
History
Date User Action Args
2007-08-23 14:59:03 admin link issue1767933 messages
2007-08-23 14:59:03 admin create