Bug 5491 - EA3 - JSP Encoding other than UTF-8
Summary: EA3 - JSP Encoding other than UTF-8
Status: CLOSED LATER
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: unspecified
Hardware: Other other
: P3 major (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-18 11:37 UTC by Mario Ivankovits
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Ivankovits 2001-12-18 11:37:16 UTC
It looks like the SAX-Parser instantiated in the validation-class can't handle 
page encodings other than UTF-8.
Or maybe the org.apache.jasper.compiler.XmlOutputter has to add a line like
<?xml contentType="text/xml; encoding=ISO-8859-1 ?>
For sure the given ecoding should match the encoding of the page found in a
<%@ page%> statement, at least a configuration-parameter will do the job.

A workaround could be to use the html-tags for what html call uuml, ouml szlig 
and so on, but e.g. the InternetExplorer 5.0 and 5.5 has bugs with this and 
can't handle these tags as button-label-taget (input type=submit 
value="löschen") and in the html-head-title tag.

Maybe one might think this is not a "major" bug, on the other hand, souldn't 
the system be character-encoding-safe at all.
Comment 1 Mario Ivankovits 2001-12-19 05:20:23 UTC
It looks like the next release of Tomcat (4.0.2) would already have a solution 
for this issue. I will look at it.
Comment 2 Mario Ivankovits 2001-12-27 23:19:08 UTC
Tomcat 4.0.2 Beta 1 fixed this issue