Skip to content

Instantly share code, notes, and snippets.

@etrepum
Created May 8, 2013 05:31
Show Gist options
  • Save etrepum/5538443 to your computer and use it in GitHub Desktop.
Save etrepum/5538443 to your computer and use it in GitHub Desktop.
Go home Python, you're drunk.
$ echo 'print repr(u"\ud834\udd20")' > tmp.py; python -c 'import tmp'; python -c 'import tmp'
u'\ud834\udd20'
u'\U0001d120'
@maxlapshin
Copy link

It again prooves that best unicode support is just a bytearray + some additional accessors over it.

@calroc
Copy link

calroc commented May 9, 2013

Did you file a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment