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/27 06:30:17 UTC

DO NOT REPLY [Bug 18396] New: - Tomcat does not use correct encoding if content type is not text/html

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

Tomcat does not use correct encoding if content type is not text/html

           Summary: Tomcat does not use correct encoding if content type is
                    not text/html
           Product: Tomcat 4
           Version: 4.1.12
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: scott@atlassian.com


Atlassian uses a JSP to create Microsoft Excel documents.  Because Excel can
convert from HTML to excel, all we need to do is set the content type correctly,
and it loads excel (and imports / converts).

However, non-ascii characters are not being set correctly.  This only happens if
you use the excel content type.  If I set the content type to text/html then the
non-ascii characters are displayed fine.

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