On 5/19/05, Dieter Maurer <[EMAIL PROTECTED]> 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/
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to