You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/03/09 14:20:51 UTC

DO NOT REPLY [Bug 17810] New: - Content Type not being changed to UTF-8 when set in the JSP

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=17810>.
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=17810

Content Type not being changed to UTF-8 when set in the JSP 

           Summary: Content Type not being changed to UTF-8 when set in the
                    JSP
           Product: Tomcat 4
           Version: 4.1.18
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: joshua.kumar@wipro.com


I am using a JSP which has the following header
response.setHeader("Content-type","text/html; charset=utf-8")
response.setContentType("text/html; charset=utf-8")
Even the <@ page ContentType > directive does not work.
This is not setting the content type to UTF-8 . I have greek and Latin 
characters which are to be displayed in Tomcat4.0.6 when I am using the 
following html META tag.
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">

But in Tomcat4.1.18 . It is not rendering the characters properly . 

The above problem does not occur with Tomcat4.0.4 also. 
Is there a fix for this in Tomcat4.1.18 or can we take it as bug till a 
resolution is found.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org