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

http://issues.apache.org/bugzilla/show_bug.cgi?id=40440

           Summary: Problem with characters when include static html
           Product: Tomcat 5
           Version: Unknown
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


When I try to include static html page with characters encoded with UTF-8 then
this characters are displayed incorrectly. When I do the same page as jsp and I 
add 

<%@ page contentType="text/html; charset=UTF-8"%> in the beginning then
everything is ok. 

following there are example of code I do for testing. The same example (with
static html) works fine in Tomcat 4

main.jsp

<%@ page contentType="text/html; charset=UTF-8"%>
<html>
<body>
HTML:<[EMAIL PROTECTED] file="/included.htm" %>
<br/>
JSP:<[EMAIL PROTECTED] file="/included1.jsp" %>
</body>
</html>


included.htm

&#261;&#281;&#347;&#263;&#380;&#378;&#324;&#322;óÓ&#321;&#262;&#377;&#379;&#260;&#346;&#323;&#280;


included.jsp

<%@ page contentType="text/html; charset=UTF-8"%>
&#261;&#281;&#347;&#263;&#380;&#378;&#324;&#322;óÓ&#321;&#262;&#377;&#379;&#260;&#346;&#323;&#280;

I also attache this examples

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to