[New-bugs-announce] [issue4610] Unicode case mappings are incorrect
report at bugs.python.org
Tue Dec 9 15:50:30 CET 2008
New submission from Alex Stapleton <alexs at prol.etari.at>:
Following a discussion on reddit it seems that the unicode case
conversion algorithms are not being followed.
Python 3.0rc1 (r30rc1:66499, Oct 10 2008, 02:33:36)
[GCC 4.0.1 (Apple Inc. build 5488)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print(x, x.upper())
This conversion is correct as defined in UnicodeData.txt however
http://unicode.org/Public/UNIDATA/SpecialCasing.txt defines a more
complete set of case conversions.
According to this file "ß".upper() should be "SS". Presumably Python
simply isn't using this file to create it's mapping database.
title: Unicode case mappings are incorrect
versions: Python 2.6, Python 3.0
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce