code: def _normalize_str(self, string):
          
          if string:
              if not isinstance(string, str):
                  string = str(string, 'utf-8', 'replace')
  
              return unicodedata.normalize('NFKD', string).encode(
                  'ASCII', 'ignore').decode('ASCII')
          return ''
docs: Remove special characters and strip spaces