3 ABECEDA = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7 for aChar in unicodedata.normalize('NFD', unistr)
8 if not unicodedata.combining(aChar))
10 def ocesat(text, mezery=True):
11 text = deaccent(unicode(text)).upper()
26 return ''.join([c for c in text if c in ABECEDA])