[Idle-dev] Unicode Literal in IDLE. (python2)

Andrew Svetlov andrew.svetlov at gmail.com
Sun Apr 21 22:20:20 CEST 2013


I think fixing this bug for python 2 can open a can of worms. Python 3
works correctly IIRC.

On Sun, Apr 21, 2013 at 7:47 PM, Tomoki Imai <tomo832 at gmail.com> wrote:
> Hi.
>
> I found bug (I think) in IDLE.
> That is, unicode literal in IDLE.
> You can reconfirm it by executing following code in IDLE.
>
>>> u"こんにちは"
> u'\xe3\x81\x93\xe3\x82\x93\xe3\x81\xab\xe3\x81\xa1\xe3\x81\xaf'
> ("こんにちは" means hello in Japanese.It's unicode literal.)
>
> In normal Interpreter ( running in console)
>
>>> u"こんにちは"
> u'\u3053\u3093\u306b\u3061\u306f'
>
> I found a solution.
> I posted here.But I found it was closed after I posted.
> http://bugs.python.org/issue17348
>
> Can I reopen it?Or, this is not bug?
>
> Thanks for your helping.
>
>
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> http://mail.python.org/mailman/listinfo/idle-dev
>



-- 
Thanks,
Andrew Svetlov


More information about the IDLE-dev mailing list