I assume I didn't fully understand unicodedata.normalize()
function in Python.
from unicodedata import normalize
result = normalize('NFKD', 'Ä')
print(result) # 'A'
print(len(result)) # 2
print(result == 'A') # False
print(result[0] == 'A') # True
I'm confused why the len()
is 2 instead of 1.