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.

作者 effbot
收信人
日期 2007-08-07.06:20:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
内容
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(...)
历史
日期 用户 动作 参数
2007-08-23 14:59:03admin链接issue1767933 messages
2007-08-23 14:59:03admin创建