Unicode problem under IDLE on win32

Tomislav Strelar tstrelar at net4u.hr
Thu Jun 19 06:42:18 EDT 2003


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)

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