Timmie wrote:
> OK, I found out.
>> Since it didn't work in IPython as well I assume that I need to change the
>> encoding of the IPython shell to UTF-8, too. Still need to find out where.
> Put a file called 'sitecustomize.py' into any directory on your PYTHONPATH.
>
> write the folowing two lines in that file:
>
> import sys
> sys.setdefaultencoding('utf-8')
Just be aware that this affects portability of your scripts; they will
require this same change to run on other systems. For this reason you
might want to change the code instead. If you give a specific example of
what is failing I will try to help.
Kent
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor