You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by tomcat <to...@hpcc.nectec.or.th> on 2002/09/27 10:05:20 UTC

default encoding problems

I need to display Thai language (TIS-620) on Browser.
But I can't set this encoding to default when user open my web page.
user must select "IE-menu-->View-->Encoding-->Thai(Windows))" every time.

My environment is Redhat 7.3 + Tomcat 4.1 + struts 1.1

My jsp code is

<%@ page import="messages.*" %>
<%@ page import="java.util.*" %>

<%@ page contentType="text/html; charset=TIS620" %>
<html>
<head>
<title>Home :: PeTerPan</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>
<body bgcolor="#FFFFFF" >
???? <%=messages.getValue("1")%>
<% System.out.println(comm.getValue("1")); %>
</body>
</html>

thank you

Apirak Panatkool


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>