def strip_accents_ascii(s):
 nkfd_form = unicodedata.normalize(u'NFKD', s)
 return nkfd_form.encode(u'ASCII', u'ignore').decode(u'ASCII')

def strip_accents_ascii ( s ) : nkfd_form = unicodedata . normalize ( u'NFKD' , s ) return nkfd_form . encode ( u'ASCII' , u'ignore' ) . decode ( u'ASCII' )
transform accentuated unicode symbols into ascii or nothing warning: this solution is only suited for languages that have a direct transliteration to ascii symbols .