S
Son KwonNam
On Tomcat 4.1.29.
JSP has no problem.
When I browse *.jsp files, the Content-Type header's charset value is
correct that I exactly specify in <%@ page contentType %>.
But *.html files show as ISO-8859-1 always.
Eventhough I put
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
I checked the http header, and got the following.
HTTP/1.1 200 OK
ETag: W/"4087-1075863720255"
Last-Modified: Wed, 04 Feb 2004 03:02:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 4087
Date: Wed, 04 Feb 2004 05:04:40 GMT
Server: Apache-Coyote/1.1
Connection: close
<html>
<head>
<title>blablabla</title>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
</head>
As you see Content-Type header's charse value is ISO-8859-1.
How can I set charset encoding for Tomcat?
Thanks for reading.
JSP has no problem.
When I browse *.jsp files, the Content-Type header's charset value is
correct that I exactly specify in <%@ page contentType %>.
But *.html files show as ISO-8859-1 always.
Eventhough I put
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
I checked the http header, and got the following.
HTTP/1.1 200 OK
ETag: W/"4087-1075863720255"
Last-Modified: Wed, 04 Feb 2004 03:02:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 4087
Date: Wed, 04 Feb 2004 05:04:40 GMT
Server: Apache-Coyote/1.1
Connection: close
<html>
<head>
<title>blablabla</title>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
</head>
As you see Content-Type header's charse value is ISO-8859-1.
How can I set charset encoding for Tomcat?
Thanks for reading.