Hi (again),

Using plain JSP I can get the browser to use UTF-8 encoding using:
<%@ page contentType="text/html; charset=UTF-8" %>


Using xhtml however that does not work, so the browser uses ISO-8859-1 
encoding. It is the HTTP header that is the problem, since both Firefox and 
Mozilla ignores the meta-tags and goes for the HTTP header, which is ISO by 
default.
I found no way to set the default HTTP encoding header in JBoss/Tomcat either.

Is there anything similar to "<%@ page..." that can be used in xhtml to force 
tomcat to set the desired content encoding header?

Cheers,
Tomas


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954803#3954803

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954803

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to