Ned Deily <n...@acm.org> added the comment: I am not familiar with the Japanese input methods available in OS X. But using copy and paste with an US UTF-8 locale, it seems to work. Perhaps there is a different locale in effect?
Python 3.2.2 (v3.2.2:137e45f15c0b, Sep 3 2011, 17:28:59) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> x = 'あ' >>> print(x) あ >>> print(ord(x)) 12354 >>> import unicodedata >>> unicodedata.name(x) 'HIRAGANA LETTER A' >>> print('%x' % ord(x)) 3042 >>> import locale >>> locale.getlocale() ('en_US', 'UTF-8') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13759> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com