[Zope-Coders] Re: [Zope-dev] Unicode treatment in 2.6b1

Guido van Rossum guido@python.org
Sun, 06 Oct 2002 18:20:46 -0400


>  - we check some command line switch (-E foo for instance) and if it is
>    set then we call sys.setdefaultencoding(foo),
>  - we import site.py to get original behavior.

You can't call sys.setdefaultencoding() except in a sitecustomize.py
module.

--Guido van Rossum (home page: http://www.python.org/~guido/)