[Zope] Re: Charset HTTP header switched to UTF-8. Bug or feature ?
Maik Jablonski
maik.jablonski at uni-bielefeld.de
Fri Aug 29 17:41:14 EDT 2003
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
More information about the Zope
mailing list