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 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:03adminlinkissue1767933 messages
2007-08-23 14:59:03admincreate