This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ats, ned.deily, ronaldoussoren
Date 2012-01-11.09:17:36
SpamBayes Score 5.2979843e-13
Marked as misclassified No
Message-id <1326273457.11.0.241907209658.issue13759@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2012-01-11 09:17:37ned.deilysetrecipients: + ned.deily, ronaldoussoren, ats
2012-01-11 09:17:37ned.deilysetmessageid: <1326273457.11.0.241907209658.issue13759@psf.upfronthosting.co.za>
2012-01-11 09:17:36ned.deilylinkissue13759 messages
2012-01-11 09:17:36ned.deilycreate