Created
July 13, 2011 17:01
-
-
Save andrewsmedina/1080749 to your computer and use it in GitHub Desktop.
remove acentos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from unicodedata import normalize | |
return normalize('NFKD', str.decode('utf-8')).encode('ASCII', 'ignore') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment