[Zope] How to support Chinese Characters in ZMI?
Ausum Studio
ausum_studio at hotmail.com
Thu Apr 29 01:50:53 EDT 2004
This code will force all your dtml ZMI pages to serve Unicode. You have to
manage to insert it, preferably prior to any html tag:
<dtml-call "RESPONSE.setHeader('Content-Type','text/html; charset=UTF-8')">
<dtml-var "u''">
Ausum
----- Original Message -----
From: "Lian Liming" <dawnlinux at realss.com>
To: <zope at zope.org>
Sent: Wednesday, April 28, 2004 8:34 PM
Subject: [Zope] How to support Chinese Characters in ZMI?
> Hi,
> I find that the ZMI doesn't support Chinese very well. I type some
> chinese characters in the ZMI, and after "save change", the
> characters didn't display well.
> The default charset for ZMI is "ISO-8859" which doesn't support
Chinese.
> I want to change it to "UTF-8" to support Chinese.
> My zope version is 2.6.4 and i don't want to upgrade to 2.7. Is
> there some way to solve the problem in v2.6?
> Thanks in advance!
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list