try,
 <%@ page contentType="text/html; charset=gb2312" %>
at the first line in your jsp page.



> -----Ursprüngliche Nachricht-----
> Von: Kenneth Tang [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 14. Juni 2002 09:26
> An: [EMAIL PROTECTED]
> Betreff: charset fail to set browser encoding
> 
> 
> Hi,
> 
> I am new in using Tomcat.  I got a problem in displaying i18n char in
> jsp page.
> 
> I got a simple jsp page as below:
> 
> <html>
> <head>
>   <META http-equiv=Content-Type content="text/html; charset=gb2312">
> </head>
> <font face="Verdana, Arial, Helvetica, sans-serif"><b><font
> size="3">ע˛á</font></b></font>
> 
> The charset have been set to "gb2312".  However, one have to 
> change the
> encoding manually inside the 
> brower in order to view the encoding correctly.
> 
> I have also tried to change the file extension from "xx.jsp" to
> "xx.html".  It works in "xx.html" extension, 
> but fail to display correct encoding in "xx.jsp".
> 
> Am I miss something? Could any one give me a hand on it?
> 
> Thanks in advanced!
> 
> Regards,
> --kenneth
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to