[IPython-user] Strange behavior on unicode strings

Fernando Perez fperez.net@gmail....
Sat Mar 17 21:16:01 CDT 2007


On 3/17/07, Kazuo Teramoto <kazuo@socrates.if.usp.br> wrote:
> Hi
> I got a strange behavior concerning unicode string input on a
> iterative python shell. With ipython:
>
> In [1]: u'á'
> Out[1]: u'\xc3\xa1'
>
> and with python interactive:
> >>> u'á'
> u'\xe1'
>
> How I can change ipython to behave like python shell on unicode input?

I wish I knew:

http://projects.scipy.org/ipython/ipython/ticket/129


Any help on this issue would be greatly welcome.  I know very little
about unicode, and what I've read so far hasn't yet shown me what the
solution here should be.

I didn't mark this as an 0.7.4 bug because we may well not solve it
that quickly, but it would be nice to have it fixed.

Cheers,

f


More information about the IPython-user mailing list