Skip to content

Instantly share code, notes, and snippets.

@ninijay
Last active September 20, 2016 16:34
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 ninijay/4984902ecb655b0afc7fccaec1bd74f2 to your computer and use it in GitHub Desktop.
Save ninijay/4984902ecb655b0afc7fccaec1bd74f2 to your computer and use it in GitHub Desktop.
null created by ninijay - https://repl.it/Ddju/0
import unicodedata
data = u'Zürich'
normal = unicodedata.normalize('NFKD', data).encode('ASCII', 'ignore')
print(normal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment