On Fri, 2002-09-27 at 16:42, Andreas Kostyrka wrote:
I've traced back the source of my UTF-8 + plain string problem. My python script calls manage_changeProperties like this: context.manage_changeProperties({'standorte':standorte})
You should use context.manage_changeProperties(standorte=standorte) otherwise manage_changeProperties thinks (stupidly) that the mapping that was passed is a REQUEST, and tries to return the management page, whose rendering sets the UTF-8 header. There is a lot of braindeadness like that in this old code (abuse of REQUEST), but we have to deal with it. :-( Florent
File "Script (Python)", line 9, in setStandorte File "/home/andreas/Zope/lib/python/OFS/PropertyManager.py", line 289, in manage_changeProperties return self.manage_propertiesForm(self,REQUEST,manage_tabs_message=message)
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com