users@glassfish.java.net

why the default response character encoding must be ISO-8859-1?

From: Ken--_at_newsgroupstats.hk <dragonken_at_gmail.com>
Date: Tue, 17 Mar 2009 09:25:50 -0700 (PDT)

I am trying to migrate my webapps from tomcat 6.0 to glassfish v3... but I
found the my utf-8 pages are not working well with gf3.

my jsps like this:

<%_at_page contentType="text/html"%>
<html>
<head>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=utf-8">
<title>...</title>
</head>
<body>
content
</body>
</html>

Those pages are working well with apache + tomcat 6.0 but with gf3, Chinese
characters are distorted and I have to right click and manually adjust the
Encoding to Unicode (UTF-8) to display Chinese words correctly.

I remember that exactly same problem was happened with tomcat 5.0.28.

Any idea?

Ken



-- 
View this message in context: http://www.nabble.com/why-the-default-response-character-encoding-must-be-ISO-8859-1--tp22562986p22562986.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.