Skip to content

Instantly share code, notes, and snippets.

@amundo
Created September 8, 2012 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amundo/3679500 to your computer and use it in GitHub Desktop.
Save amundo/3679500 to your computer and use it in GitHub Desktop.
>>> import unicodedata
>>> unicodedata.name(u"\u026c\u02bc")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: need a single Unicode character as parameter
>>> unicodedata.name(u"\u026c")
'LATIN SMALL LETTER L WITH BELT'
>>> unicodedata.name(u"\u02bc")
'MODIFIER LETTER APOSTROPHE'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment