[Zope-dev] Re: UTF-8 manage_editForm in ZMI
Gilles Lenfant
gilles@pilotsystems.net
Tue, 8 Apr 2003 18:20:14 +0200
Many thanks for the enlightenment,
Starting the manage page with...
<dtml-let management_page_charset="'utf-8'">
...does perfectly the job now.
--Gilles
----- Original Message -----
From: "Maik Jablonski" <maik.jablonski@uni-bielefeld.de>
To: <zope-dev@zope.org>
Sent: Tuesday, April 08, 2003 5:48 PM
Subject: [Zope-dev] Re: UTF-8 manage_editForm in ZMI
> 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
>
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope )
>
>