[Python-checkins] r72356 - peps/trunk/pep-0383.txt

martin.v.loewis python-checkins at python.org
Tue May 5 23:01:44 CEST 2009


Author: martin.v.loewis
Date: Tue May  5 23:01:44 2009
New Revision: 72356

Log:
Don't use "half" as an adjective to "surrogate".


Modified:
   peps/trunk/pep-0383.txt

Modified: peps/trunk/pep-0383.txt
==============================================================================
--- peps/trunk/pep-0383.txt	(original)
+++ peps/trunk/pep-0383.txt	Tue May  5 23:01:44 2009
@@ -69,14 +69,14 @@
 On POSIX systems, Python currently applies the locale's encoding to
 convert the byte data to Unicode, failing for characters that cannot
 be decoded. With this PEP, non-decodable bytes >= 128 will be
-represented as lone half surrogate codes U+DC80..U+DCFF. Bytes below
+represented as lone surrogate codes U+DC80..U+DCFF. Bytes below
 128 will produce exceptions; see the discussion below.
 
 To convert non-decodable bytes, a new error handler ([2]) "utf8b" is
-introduced, which produces these half surrogates. On encoding, the
-error handler converts the half surrogate back to the corresponding
-byte. This error handler will be used in any API that receives or
-produces file names, command line arguments, or environment variables.
+introduced, which produces these surrogates. On encoding, the error
+handler converts the surrogate back to the corresponding byte. This
+error handler will be used in any API that receives or produces file
+names, command line arguments, or environment variables.
 
 The error handler interface is extended to allow the encode error
 handler to return byte strings immediately, in addition to returning


More information about the Python-checkins mailing list