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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to