On Tue, 19 Sep 2006, [EMAIL PROTECTED] wrote:

> so, how register(?) all imported modules to convert all unicodes to 
> str() with a coder, for eg. encode('cp1251')

Hi Emilia,

Unfortunately, this isn't so clean: changing the systemwide 
default encoding may cause things to break.  See:

     http://faassen.n--tree.net/blog/view/weblog/2005/08/02/0

for some discussion on the pitfalls.
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to