[Python-checkins] r88777 - peps/trunk/pep-0383.txt
martin.v.loewis
python-checkins at python.org
Mon Mar 14 03:31:45 CET 2011
Author: martin.v.loewis
Date: Mon Mar 14 03:31:44 2011
New Revision: 88777
Log:
Acknowledge Markus Kuhn's influence.
Modified:
peps/trunk/pep-0383.txt
Modified: peps/trunk/pep-0383.txt
==============================================================================
--- peps/trunk/pep-0383.txt (original)
+++ peps/trunk/pep-0383.txt Mon Mar 14 03:31:44 2011
@@ -84,7 +84,7 @@
Unicode strings which then get encoded again (also see the discussion
below).
-Byte-orientied interfaces that already exist in Python 3.0 are not
+Byte-oriented interfaces that already exist in Python 3.0 are not
affected by this specification. They are neither enhanced nor
deprecated.
@@ -94,6 +94,9 @@
Discussion
==========
+This surrogateescape encoding is based on Markus Kuhn's idea that
+he called UTF-8b [3].
+
While providing a uniform API to non-decodable bytes, this interface
has the limitation that chosen representation only "works" if the data
get converted back to bytes with the surrogateescape error handler
@@ -176,6 +179,9 @@
"Codec Error Handling Callbacks"
http://www.python.org/dev/peps/pep-0293/
+ [3] UTF-8b
+ http://mail.nl.linux.org/linux-utf8/2000-07/msg00040.html
+
Copyright
=========
More information about the Python-checkins
mailing list