J
jmfauth
Am 18.06.2012 20:45, schrieb Terry Reedy:
FYI:http://hg.python.org/cpython/rev/8e47e9af826e
Christian
I saw this, not the latest version.
Anyway, thanks for the info.
jmf
Am 18.06.2012 20:45, schrieb Terry Reedy:
FYI:http://hg.python.org/cpython/rev/8e47e9af826e
Christian
Python 3.3.0a4 (v3.3.0a4:7c51388a3aa7+, May 31 2012, 20:15:21) [MSC v.
1600
32 bit (Intel)] on win32running smidzero.py...
...smidzero has been executed
input(':')
:éléphant
'éléphant'
input(':')
:u'\u00e9l\xe9phant'
'éléphant'
Mea culpa. I had not my head on my shoulders.
Inputing if working fine, it returns "text" correctly.
However, and this is something different, I'm a little
bit surprised, input() does not handle escaped characters
(\u, \U).
Workaround: encode() and decode() as "raw-unicode-escape".
Mea culpa. I had not my head on my shoulders. Inputing if working fine,
it returns "text" correctly.
However, and this is something different, I'm a little bit surprised,
input() does not handle escaped characters (\u, \U).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.