You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ki...@citrix.co.jp on 2002/09/06 11:22:35 UTC
When using <%@ include file="xxx.jsp" %>, Japanese character is c
orrupted.
Hello,
Does anyone know good workaround?
Environments
==================
Redhat 7.2 Japanese
j2sdk-131_02
jakarta-tomcat-3.2.4
Brief description
==================
I use test.jsp which call include file (include.jsp) as include file.
And charset is defined as euc-jp in that include file. It seems that
charset defined at include file (include.jsp) have priority rather th
an charset defined at http-equiv in test.jsp. So charset defined at
include file (include.jsp) should be used. In this case, Japanese
character which is coded at the html parts in test.jsp is corrupted...
If I defined charset at test.jsp and don't use include file, this
problem is not caused.
[test.jsp]
<%@ include file="include.jsp" %>
: (syncopation)
<html> <head>
<title> test </title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
: (syncopation)
</head>
<Japanese character>
: (syncopation)
[include.jsp]
<%@ page import = " java.util.*, xxxxx" contentType="text/html;
charset=EUC-JP" %>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>