Skip to content

Instantly share code, notes, and snippets.

@juliosmelo
Last active August 29, 2015 14:17
Embed
What would you like to do?
from unicodedata import normalize
nome = u'Júlio Mélo'
novo_nome = normalize('NFKD', nome).encode('ASCII', 'ignore')
print(novo_nome)
'Julio Melo'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment