[Zope] Having problems with the umlauts in Zope 2.6.0

Josef Meile jmeile@hotmail.com
Fri, 7 Feb 2003 10:48:48 +0100


Hi,

in Zope 2.5.1 everything worked perfect. I stored texts in the string
properties
of my ZClasses with the special german characters (ä,ö,ü) and there weren't
problems.

Today I realized that when I tried to do it with my new Zope (2.6.0), it
refuses to accept them. I look in the list and found that I could use:

import sys
sys.setdefaultencoding("latin-1")

I put it in my z2.py script, but it says that sys doesn't havean attribute
'setdefaultencoding'. Even from the command line I get the same error.

How can I solve this problem?

Thanks in advanced,
Josef