29 Aug
2003
29 Aug
'03
2:41 p.m.
Gilles Lenfant wrote:
There's a strange thing in a iso-8859-1 (natural) charset site Zope 2.6.1 powered...
A form is summitted (POST) to a TTW python script. At the end of the script, after form validation ...
<sample> return context.sometemplate(param1=value1, ...) </sample>
The "sometemplate" is published with this HTTP header :
Content-Type: text/html;charset=UTF-8
When nowhere in my scripts/templates, I stated to use that charset. You can imagine the ugly things that are displayed :-/
Does your script call a manage_*-method (manage_changePropeties for example, which alway sets the management-charset to UTF-8 since Zope 2.6.1) or does it catalog an item? Cheers, Maik