Message151046
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') |
|
Date |
User |
Action |
Args |
2012-01-11 09:17:37 | ned.deily | set | recipients:
+ ned.deily, ronaldoussoren, ats |
2012-01-11 09:17:37 | ned.deily | set | messageid: <1326273457.11.0.241907209658.issue13759@psf.upfronthosting.co.za> |
2012-01-11 09:17:36 | ned.deily | link | issue13759 messages |
2012-01-11 09:17:36 | ned.deily | create | |
|