A simple example returns the wrong encoding in Tomcat 4.1.23:

<%@ page session="false" language="java" contentType="text/html;
charset=ISO-8859-1" %>
<%@ taglib uri="http://www.mmbase.org/mmbase-taglib-1.0"; prefix="mm" %>
<mm:include page="data.xml" />

data.xml:

<p>Caf� twee�ntwintig</p>

The result is:

Caf? twee?ntwintig

After renaming data.xml to data.jsp and using this file everything works ok.

Martijn Houtman


Reply via email to