You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Sun Yiyi <yy...@ONLINE.EMICH.EDU> on 2000/03/07 18:54:49 UTC
Please help: Is Tomcat only for English version of NT?
Hi, all,
I'm trying the simplest JSP, hi.jsp listed below.
----------------------------------------------------------------------------
-----------------------------
<html><head><meta http-equiv="Content-Type" content="text/html;
charset=gb2312"></head>
<%
out.print("<h1>ÖÐÎÄ</h1><br>");
%>
<body></body></html>
----------------------------------------------------------------------------
-----------------------------
I used Tomcat 3.0 and SUN JDK 1.2.2.
Under English NT, the code in
d:\tomcat\work\8080\_0005chi_0002ejsphi_jsp_0.java is:
out.print("<h1>\u00d6\u00d0\u00ce\u00c4</h1><br>");
So hi.jsp works very well !
*BUT *
Under Chinese NT, the code in
c:\tomcat\work\8080\_0005chi_0002ejsphi_jsp_0.java is
out.print("<h1>-\u0087</h1><br>");
So hi.jsp cannot work at all.
To add <%@ page contentType="text/html;charset=gb2312" %>, it does not work
either.
How can I set up Tomcat to work under Chinese version of NT?
Please Help. Thanks.
Sun Yiyi