code: def ascii(text):
      
      if not isinstance(text, unicode):
          text = unicode(text)
      return unicodedata.normalize('NFKD', text).encode('ascii', 'ignore')
docs: Transliterate special unicode characters into pure ascii