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

martin.v.loewis python-checkins at python.org
Wed Apr 29 22:01:33 CEST 2009


Author: martin.v.loewis
Date: Wed Apr 29 22:01:33 2009
New Revision: 72112
Log:
Make differences between status quo and proposed change
explicit.
Modified:
 peps/trunk/pep-0383.txt
Modified: peps/trunk/pep-0383.txt
==============================================================================
--- peps/trunk/pep-0383.txt	(original)
+++ peps/trunk/pep-0383.txt	Wed Apr 29 22:01:33 2009
@@ -67,8 +67,9 @@
 environmental data to Python str objects.
 
 On POSIX systems, Python currently applies the locale's encoding to
-convert the byte data to Unicode. Non-decodable bytes will be
-represented as lone half surrogate codes U+DCxx.
+convert the byte data to Unicode, failing for characters that cannot
+be decoded. With this PEP, non-decodable bytes will be represented as
+lone half surrogate codes U+DCxx.
 
 To convert non-decodable bytes, a new error handler "python-escape" is
 introduced, which produces these half surrogates. On encoding, the


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /