[opencms-dev] Display Chinese Char in Template
Alexander Kandzior
alex at opencms.org
Thu May 29 07:41:00 CEST 2003
Yumin,
I assume that your are using JSP templates. Make sure that
1. You have setup OpenCms with UTF-8
2. Check out the properties of your JSP template elements
Make sure property "content-encoding" is set to UTF-8
The default is always "ISO-8859-1"
3. In the JSP code, make sure to specify
<%@ page pageEncoding="UTF-8" %>
If you specifiy nothing, the default is ISO-8859-1
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of polysoft contact
> Sent: Wednesday, May 28, 2003 11:55 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Display Chinese Char in Template
>
>
> Hi,Alex.
>
> I met a very strange thing. My OpenCMS system can display
> chinese char well
> in content, but can not display the Chinese char in my
> template even I
> already setup UTF-8 in my template. Is there some special
> requirement for
> display chinese char in template? thanks.
>
> Yumin
>
More information about the opencms-dev
mailing list