[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

Benjamin Peterson report at bugs.python.org
Fri Mar 11 02:39:49 EST 2016


Benjamin Peterson added the comment:

The full case mappings do not preserve normalization form.

>>> for c in 'ΰ'.upper().lower(): print(unicodedata.name(c))
... 
GREEK SMALL LETTER UPSILON
COMBINING DIAERESIS
COMBINING ACUTE ACCENT
>>> unicodedata.normalize('NFC', 'ΰ'.upper().lower()) == 'ΰ'
True

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12736>
_______________________________________


More information about the Python-bugs-list mailing list