On Mon, May 4, 2015 at 2:30 AM, Jon Ribbens
<jon+use...@unequivocal.co.uk> wrote:
> I did some experimentation, and it looks like the answer is:
>
>   "\udb40\udd9d".encode("utf16", "surrogatepass").decode("utf16")
>
> Thanks for your help!

Ha! That's the one. I went poking around but couldn't find the name
for it. That's exactly the sloppy encoding that I was talking about.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to