You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mo...@tiscali.dk on 2002/10/03 14:22:51 UTC

Encoding problems

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>