DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15307>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15307

Bad encoding for the part of pages included with <%@ include file...

           Summary: Bad encoding for the part of pages included with <%@
                    include file...
           Product: Tomcat 4
           Version: 4.1.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If the top level page is in other encoding as ISO-8859-1 eg. UTF-8 the included
page doesn't get the encoding of higher level, but have only ISO-8859-1. 
I think, that the bug is in the method
org.apache.jasper.compiler.ParserController.figureOutJspDocument()

I repair at home this bug with changing this block:

if (newEncoding == null) {
   newEncoding = "ISO8859-1";
}

to the:

if (newEncoding == null) {
   newEncoding = topFileEncoding;
}

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to