Py3.3 unicode literal and input()

jmfauth wxjmfauth at
Mon Jun 25 13:17:00 CEST 2012

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".


More information about the Python-list mailing list