[Python-ideas] Processing surrogates in
Serhiy Storchaka
storchaka at gmail.com
Thu May 14 07:31:13 CEST 2015
On 13.05.15 19:22, Nick Coghlan wrote:
> Three potential expected sources of surrogates have been identified:
>
> * escaped surrogates smuggling arbitrary bytes passed through decoding
> by the "surrogateescape" error handler
> * surrogates passed through the decoding process by the
> "surrogatepass" error handler
> * decomposed surrogate pairs for astral characters
* json
* pickle
* email
* nntplib
* SimpleHTTPRequestHandler
* wsgiref
* cgi
* tarfile
* filesystem names (os.decode) and other os calls
* platform and sysconfig
* other serializers
More information about the Python-ideas
mailing list