It also happens to me.
Noting that behaviour, and this one:
>>> u'camión'
u'cami\xc3\xb3n'
>>> u'camión'.encode("utf8")
'cami\xc3\x83\xc2\xb3n'
...it seems that ipython is double encoding the input somewhere.
Note which the correct result is, taken from a standard python console:
>>> u'camión'
u'cami\xf3n'
>>> u'camión'.encode("utf8")
'cami\xc3\xb3n'
--
ipython does not handle Unicode input correctly
https://bugs.launchpad.net/bugs/352493
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs