<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY bgColor=#eaeaea>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=218033113-03112004>Moreover, on a the JSP page, you must also "declare"
UTF-8 encoding in the JSP header, like this:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=218033113-03112004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=218033113-03112004><%@ page pageEncoding="UTF-8"
%></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=218033113-03112004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=218033113-03112004>This is just following the JSP standard since the
servlet engine assumes ISO-8859-1 be default.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=218033113-03112004><FONT face=Arial color=#0000ff size=2>I just
tried this and it works (using the armenian chars from the templateone
demo...)</FONT></SPAN></DIV>
<DIV><SPAN class=218033113-03112004><FONT face=Arial color=#0000ff size=2>Please
let me know if it works for your chinese chars as well.</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon
Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A><BR><BR></FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Alexander
Kandzior<BR><B>Sent:</B> Wednesday, November 03, 2004 2:23 PM<BR><B>To:</B>
'The OpenCms mailing list'<BR><B>Subject:</B> RE: Re: [opencms-dev] Problem of
jsp encoding<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=068271913-03112004><FONT face=Arial
color=#0000ff size=2>You must change the "content-encoding" property of the
file "/sites/default/index.jsp" to "UTF-8", it's currently set
to "ISO-8859-1".</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon
Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A><BR><BR></FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of
</B>??<BR><B>Sent:</B> Wednesday, November 03, 2004 1:46 PM<BR><B>To:</B>
The OpenCms mailing list<BR><B>Subject:</B> Re: Re: [opencms-dev] Problem of
jsp encoding<BR></FONT><BR></DIV>
<DIV></DIV><FONT size=2><FONT face=宋体>hi YenHung Chen!</FONT> </FONT>
<DIV> I know "中文" - it is
unicode.</DIV>
<DIV> however,when i reedit it,i cann't
identify it to correct chinese character.how can i do?<BR></DIV>
<DIV><FONT face=宋体 size=2> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=宋体 size=2>======== 2004-11-03 20:19:17
========</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>
<TABLE width="100%">
<TBODY>
<TR>
<TD width="100%">
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><PRE wrap="">"中文" - it is unicode
you input the chinese character, they must be converted to unicode.</PRE><BR>lysss713 wrote:
<BLOCKQUOTE cite=mid200411031204.UAA26144@mx120.hinet.net
type="cite"><PRE wrap="">Hi all:
I encounter two problem,in one side,When I have installed the openCMS successfully by default,however when I edit the sites/default/index.jsp in the workspace using chinese character ,as saving it ,the chinese character changed like this "中文".but when i open it in explorer,the chinese character display normally.In another,when i create a new jsp file,as I input the chinese character,the file can saved normally.but when explore it,it display in such character like this "ä¸æ".My developing enviroment like this:
OS:win2000 server
web server:tomcat5.0.27
DataBase:mysql4.0.12
explorer:IE6.0
opencms_6.0_alpha_2
<A class=moz-txt-link-abbreviated href="mailto:lysss713@163.com">lysss713@163.com</A>
2004-11-03
</PRE><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<A class=moz-txt-link-freetext href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></PRE></BLOCKQUOTE><BR></BLOCKQUOTE></TD></TR></TBODY></TABLE></FONT></DIV>
<DIV>
<P><FONT face=宋体 size=2>= = = = = = = = = = = = = = = = = = = = = =
</FONT><FONT face=宋体
size=2> </FONT></P></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>