making 'utf-8' default codec

Jarek Zgoda jzgoda at o2.usun.pl
Mon Feb 27 07:53:27 EST 2006


Nikola Skoric napisał(a):

> Is there a way of making 'utf-8' default codec for the whole program, so 
> I don't have to do .encode('utf-8') every time I print out a string?

Bad idea. You may accidentally break some libraries that depend on ASCII
being default & standard.

-- 
Jarek Zgoda
http://jpa.berlios.de/



More information about the Python-list mailing list