Unicode problem under IDLE on win32

vincent wehren v.wehren at home.nl
Thu Jun 19 07:11:16 EDT 2003


"Tomislav Strelar" <tstrelar at net4u.hr> schrieb im Newsbeitrag
news:bcs434$11o$1 at brown.net4u.hr...
> Hello!
>
> I am a bit new to Python, and I am experiencing some problem regarding
> Unicode encoding.
> The thing is that in command line everything works fine, for example:
>
> >>> u"èæ".encode('utf-8')
> '\xc2\x9f\xc2\x86'
>
> This is OK, but when I type the same thing in IDLE, i get:
>
> UnicodeError: ASCII encoding error: ordinal not in range(128)


This is a known problem in IDLE.

It looks like this issue has been solved or less solved in IDLEfork
(http://idlefork.sourceforge.net)

Regards,

Vincent Wehren

HTH

>
> I am using winXP. I've searced the Internet for answers, but didn't found
> any.
> Could someone please help me. ;)
> Thanx.
>
> Cheerio,
> Tomislav
>
>






More information about the Python-list mailing list