Unicode surrogate pairs (Python 3.4)

Marko Rauhamaa marko at pacujo.net
Sun May 3 11:35:17 EDT 2015


Jon Ribbens <jon+usenet at unequivocal.co.uk>:

> Python doesn't appear to have UCS-2 support, so I guess what you're
> saying is that I have to write my own surrogate-decoder? This seems a
> little surprising.

Try UTF-16.


Marko



More information about the Python-list mailing list