unicodedata no accent

Solutions on MaxInterview for unicodedata no accent by the best coders in the world

showing results for - "unicodedata no accent"
Carissa
12 Jul 2020
1import unicodedata
2def strip_accents(s):
3   return ''.join(c for c in unicodedata.normalize('NFD', s)
4                  if unicodedata.category(c) != 'Mn')
5