Message36779
| Author |
doerwalter |
| Recipients |
| Date |
2001年06月12日.19:18:57 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=89016
One additional note: It is vital that errors is an
assignable attribute of the StreamWriter.
Consider the XML example: For writing an XML DOM tree one
StreamWriter object is used. When a text node is written,
the error handling has to be set to
codecs.xmlreplace_encode_errors, but inside a comment or
processing instruction replacing unencodable characters with
charrefs is not possible, so here codecs.raise_encode_errors
should be used (or better a custom error handler that raises
an error that says "sorry, you can't have unencodable
characters inside a comment")
BTW, should we continue the discussion in the i18n SIG
mailing list? An email program is much more comfortable than
a HTML textarea! ;)
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:06:03 | admin | link | issue432401 messages |
| 2007年08月23日 15:06:03 | admin | create |
|