[Zope] Zope3 DTML in Filesystem ZSQL

Dieter Maurer dieter at handshake.de
Thu May 19 13:53:00 EDT 2005


Lennart Regebro wrote at 2005-5-19 10:39 +0200:
> ...
>But, at the moment, only for ascii, because the some Zope 3 widgets
>make unicode(string) calls for no apparent reason, which fails under
>Five if the string contains anything above chr(128). We are looking at
>solving that though. ;)

One (probably not optimal) solution would be to use
"sys.setdefaultencoding(some_appropriate_encoding_fitting_the_sites_encoding)"
in "sitecustomize.py".

-- 
Dieter


More information about the Zope mailing list