Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

unicodedata no accent

import unicodedata
def strip_accents(s):
   return ''.join(c for c in unicodedata.normalize('NFD', s)
                  if unicodedata.category(c) != 'Mn')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unicodedata #accent
ADD COMMENT
Topic
Name
3+1 =