Acknowledge Markus Kuhn's influence.
This commit is contained in:
parent
3c695c02ac
commit
f6f87de3b5
|
@ -84,7 +84,7 @@ handler to return byte strings immediately, in addition to returning
|
|||
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 @@ chosers) should also encode them according to the PEP.
|
|||
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 @@ References
|
|||
"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
|
||||
=========
|
||||
|
||||
|
|
Loading…
Reference in New Issue