[New-bugs-announce] [issue11833] ord() doesn't show complete UNICODE

Alec Taylor report at bugs.python.org
Tue Apr 12 05:42:43 CEST 2011


New submission from Alec Taylor <alec.taylor6 at gmail.com>:

Unfortunately ord() doesn't show complete UNICODE. This can cause incorrectness problems.

>>> ord('—')
151
>>> ord('¥')
165

Proof: Type Alt+0151, then type Alt+151. They should give you — and ù respectively.

Please correct the UNICODE numbering.

Thanks,

Alec Taylor

----------
components: Unicode
messages: 133560
nosy: AlecTaylor
priority: normal
severity: normal
status: open
title: ord() doesn't show complete UNICODE
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list