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=19778>.
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=19778
utf-8-encoded source gets mangled in xml-mode
Summary: utf-8-encoded source gets mangled in xml-mode
Product: Tomcat 4
Version: 4.1.24
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: marcello@perathoner.de
An UTF-8-encoded source gets mangled if I use the xml-flavour of Jasper tags.
This works:
<%@page contentType="text/html; charset=UTF-8" %>
<%@page pageEncoding="UTF-8" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<h1>Liberté</h1> <!-- this is an e with accent (é) -->
</body>
</html>
<!-- Local Variables: -->
<!-- coding:utf-8 -->
<!-- End: -->
This does not work:
<?xml version="1.0" encoding="utf-8" ?>
<jsp:root xmlns="http://java.sun.com/JSP/Page" version="1.2">
<jsp:directive.page pageEncoding="UTF-8" />
<jsp:directive.page contentType="text/html; charset=UTF-8" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<h1>Liberté</h1> <!-- this one gets mangled -->
</body>
</html>
</jsp:root>
<!-- Local Variables: -->
<!-- coding:utf-8 -->
<!-- End: -->
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
|