[Zope-CMF] pb with unicode
Dieter Maurer
dieter@handshake.de
Wed, 18 Dec 2002 22:20:24 +0100
Sylvain Th=E9nault writes:
> > Tell this Python also.
> >=20
> > This is done in a file "sitecustomize.py" (see "site.py" for a
> > documentation) with "sys.setdefaultencoding(...)".
>=20
> I know about this file but I want to specify encoding only for Zope...
> isn't there a way to do that without setting encoding for all others
> python applications ?=20
I expect that you can tell Python via an appropriate PYTHONPATH
environment variable where to look for "sitecustomize.py".
Look at the "site.py" code. It contains verbose documentation.
Dieter