Message77417
| Author |
alexs |
| Recipients |
alexs |
| Date |
2008年12月09日.14:50:27 |
| SpamBayes Score |
8.048471e-05 |
| Marked as misclassified |
No |
| Message-id |
<1228834230.47.0.479389214751.issue4610@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Following a discussion on reddit it seems that the unicode case
conversion algorithms are not being followed.
$ python3.0
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.
>>> x='ß'
>>> 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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年12月09日 14:50:31 | alexs | set | recipients:
+ alexs |
| 2008年12月09日 14:50:30 | alexs | set | messageid: <1228834230.47.0.479389214751.issue4610@psf.upfronthosting.co.za> |
| 2008年12月09日 14:50:29 | alexs | link | issue4610 messages |
| 2008年12月09日 14:50:27 | alexs | create |
|