tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From moo...@tiscali.dk
Subject Encoding problems
Date Thu, 03 Oct 2002 12:22:51 GMT
Hi.

I have some problems with the encoding.

At the top of the JSP page I have placed:

<%@ page language="java" contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1">

I then receives a paramter (name) with the following original-content: Raunkjær.

When it is displayed it changes to: RaunkjÝr.

I use...:

<% String name = request.getParameter("name"); %>


...to extract and print the name.

Why does the JSP pages not 'use' the contentType/pageEncoding from the page
directive?

Best regards,

Lars Nielsen Lind


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message