[New-bugs-announce] [issue12746] normalization is affected by unicode width

Benjamin Peterson report at bugs.python.org
Sat Aug 13 06:12:01 CEST 2011


New submission from Benjamin Peterson <benjamin at python.org>:

Narrow build:
unicodedata.normalize("NFKC", "𝔘𝔫𝔦𝔠𝔬𝔡𝔢")
'𝔘𝔫𝔦𝔠𝔬𝔡𝔢'

Wide build:
>>> unicodedata.normalize("NFKC", "𝔘𝔫𝔦𝔠𝔬𝔡𝔢")
'Unicode'

Normalization needs to properly decode characters in the supplementary plane.

----------
components: Extension Modules
messages: 142008
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: normalization is affected by unicode width
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

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


More information about the New-bugs-announce mailing list