/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import unicodedata def removeAccentedChars(s): return unicodedata.normalize('NFKD',s).encode('ascii','ignore') print removeAccentedChars(u"aaà öÜ")