[New-bugs-announce] [issue39174] unicodedata.normalize failing with NFD and NFKD for some characters in Python3

Lee Collins report at bugs.python.org
Tue Dec 31 13:22:31 EST 2019


New submission from Lee Collins <lcollins at netflix.com>:

A script that works in 2.7.17 is now failing for some Unicode characters in 3.7.5 on MacOS 10.14.6. For example unicodedata.normalize('NFD', 'à') used to return the correct decomposition u'a\u0300', but in 3.7 it returns the single composed character U+00E0. This doesn't happen for all composed forms, just some. Other examples: á, ã

----------
components: Unicode
messages: 359120
nosy: Lee Collins, ezio.melotti, vstinner
priority: normal
severity: normal
status: open
title: unicodedata.normalize failing with NFD and NFKD for some characters in Python3
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39174>
_______________________________________


More information about the New-bugs-announce mailing list