You have to specify the file.encoding system property

export CATALINA_OPTS="-Dfile.encoding=iso-8859-1"
Then restart tomcat.

HTH,
        Andy

-----Original Message-----
From: David Del Sacramento [mailto:[EMAIL PROTECTED] 
Sent: 12 June 2003 15:04
To: [EMAIL PROTECTED]
Subject: Special characters


Hi,

I installed Tomcat 4.1.24 in a Solaris server and I'm
using a JSP form that received special characters
like: á é Ó É ú. The action of the form send an e-mail
(using javamail). When de tomcat process the e-mail
changes the special characters with "?".

I used the directive 
<%@ page contentType="text/html; charset=iso-8859-1"
%>
but it isn't working.

I installed Tomcat 4.0.6 and the error is the same.

I used java.net.URLDecoder and java.net.URLEncode and
isn´t work too.


Can you help me?

Regards,
David

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to