[Zope] How to support Chinese Characters in ZMI?
Dieter Maurer
dieter at handshake.de
Thu Apr 29 18:13:14 EDT 2004
Lian Liming wrote at 2004-4-28 20:34 -0500:
> 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!
You can define a property (e.g. at the "Root folder") with
the name "management_page_charset". It controls the charset
of management pages.
When you look at "App/manage_page_header.dtml", you can see
how this definition is used.
You can do something similar in your own templates.
--
Dieter
More information about the Zope
mailing list