[Zope-dev] Re: UTF-8 manage_editForm in ZMI

Maik Jablonski maik.jablonski@uni-bielefeld.de
Tue, 08 Apr 2003 17:48:47 +0200


Gilles Lenfant wrote:
> I'm making some types for Plone, thus I need UTF-8 support in the "Edit" ZMI
> tab for that types.
> I have tried to start the manage_editForm.dtml with...
> 
> <dtml-call "RESPONSE.setHeader('Content-Type', 'text/html; charset=UTF-8')">
> 
> But this doesn't seem to be change anything, and the ZMI edit tab is always
> considered encoded using the default browser setting. On Mozilla as well as
> with IE.
> 
> Did I forget something or does the browser behave like this because the ZMI
> tab is an HTML frame ?

Hi Gilles!

Have a look at Zope/lib/python/App/dtml/manage_page_header.dtml to learn 
how the ZMI handles the definition of the management-charset.

HTH, Maik