[Zope] Unicode Error

Jan Ulrich Hasecke janulrich.hasecke@web.de
Tue, 15 Oct 2002 10:49:53 +0200


Andreas Jung <lists@andreas-jung.com> writes:

> import sys
> sys.setdefaultencoding("iso-8859-15")

Thanks, that works.

I get this error while compiling the file

/home/zopeuser/local/bin/python sitecusto\
mize.py
Traceback (most recent call last):
  File "sitecustomize.py", line 2, in ?
    sys.setdefaultencoding("iso-8859-15")
AttributeError: 'sys' module has no attribute 'setdefaultencoding'

But it works anyway.

Ciao!
juh

--=20
Zwangsarbeiterentsch=E4digung: Almosen statt Strafgericht
http://www.sudelbuch.de/2001/20010309.html