[Bug 352493] Re: ipython does not handle Unicode input correctly

Facundo Batista facundo at canonical.com
Sat Apr 4 14:58:06 UTC 2009


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
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list