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: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to