24 May
2005
24 May
'05
10:25 a.m.
On 5/19/05, Dieter Maurer <dieter@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/