Message36779
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! ;)
|
|
Date |
User |
Action |
Args |
2007-08-23 15:06:03 | admin | link | issue432401 messages |
2007-08-23 15:06:03 | admin | create | |
|