def to_ascii(input_string):
 return unicodedata.normalize('NFKD', unicode(input_string)).encode('ascii', 'ignore')

def to_ascii ( input_string ) : return unicodedata . normalize ( 'NFKD' , unicode ( input_string ) ) . encode ( 'ascii' , 'ignore' )
change unicode characters in a string to ascii if possible .