[Zope] Zope3 DTML in Filesystem ZSQL
Lennart Regebro
regebro at gmail.com
Tue May 24 06:25:22 EDT 2005
On 5/19/05, Dieter Maurer <dieter at handshake.de> wrote:
> 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".
Yes, (with a leading import sys) this works if you put
sitecustomize.py in the lib/python directory.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
More information about the Zope
mailing list