[issue11833] ord() doesn't show complete UNICODE

Ezio Melotti report at bugs.python.org
Tue Apr 12 05:59:38 CEST 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

For the chars you pasted, on Python 3 I get:
>>> ord('—')  # U+2014 EM DASH
8212
>>> ord('¥')  # U+00A5 YEN SIGN
165

If I type alt+8212 I get '—' and if I type alt+0165 I get '¥'.
What version of Python are you using and on what OS?

----------
nosy: +ezio.melotti

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


More information about the Python-bugs-list mailing list