David,

I had this problem quite a few months back for the first time and was
not able to solve it... Untill It surfaced again last week.

The solution I used is fairly simple, here is my entry for this issue.
Let me know if it works.

Laurent

***************************
Description:
Webapp does not recognize accented characters (eg. �,�,�...) and display
a question mark instead.

Solution: 
This is a locale issue. Characters are captured properly, only when they
are displayed they get modified to a '?'. There is no loss of data when
using a system with this issue.

To fix the problem, you need to set your LANG OS specific environment
variable to the language you use. 
Try adding this line:
export LANG=en_CA
to your tomcat/bin/catalina.sh and restart tomcat.

It should look like this:
        ...
        # OS specific support.  $var _must_ be set to either true or
false.
        cygwin=false
        case "`uname`" in
        CYGWIN*) cygwin=true;;
        esac
==>>    export LANG=en_CA
        # resolve links - $0 may be a softlink
        PRG="$0"
        ...



-----Original Message-----
From: David Del Sacramento [mailto:[EMAIL PROTECTED] 
Sent: June 12, 2003 10:04 AM
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