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 | janssen |
|---|---|
| Recipients | janssen |
| Date | 2008年06月10日.18:11:51 |
| SpamBayes Score | 0.023700671 |
| Marked as misclassified | No |
| Message-id | <1213121523.99.0.8342553488.issue3075@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Right now, the encoding argument added to xml.dom.minidom.DOMObject.toxml() in Python 2.3 seems fairly useless. It has to be UTF-8. But a one-line change to the implementation of toprettyxml would make it useful; instead of the encoding error method being "strict", make it "xmlcharrefreplace". So change writer = codecs.lookup(encoding)[3](writer) to writer = codecs.lookup(encoding)[3](writer, "xmlcharrefreplace") |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月10日 18:12:04 | janssen | set | spambayes_score: 0.0237007 -> 0.023700671 recipients: + janssen |
| 2008年06月10日 18:12:04 | janssen | set | spambayes_score: 0.0237007 -> 0.0237007 messageid: <1213121523.99.0.8342553488.issue3075@psf.upfronthosting.co.za> |
| 2008年06月10日 18:11:57 | janssen | link | issue3075 messages |
| 2008年06月10日 18:11:53 | janssen | create | |