Hi, take a look at this thread.  
http://www.mail-archive.com/[EMAIL PROTECTED]/msg91815.html
Like Ralph Einfeldt said, you need to encode the JSP files, the request and the
response.  You've done the JSP part, now you want to define a filter for the
other two.  Btw, ISO-8859-1(Latin 1) covers most Western European Languages, it
should be able to handle the French characters.  

-Yan

-----Original Message-----
From: Evgeny Gesin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 02, 2004 7:33 AM
To: Tomcat Users List
Subject: RE: Internationalization problem


I see, so this
 JAVA_OPTS=-Dfile.encoding="UTF8"
is important to generate correct chars from hardcoded
strings if written directly in java files.
Thanks

Evgeny Gesin
Javadesk


--- Ralph Einfeldt <[EMAIL PROTECTED]>
wrote:
> 
> You have to consider 3 different topics:
> - encoding of generated java files
>   This is defined by the file.encoding option of the
> jvm.
> 
> - encoding of the response
>   This is defined by the encoding tag of the jsp or
> by 
>   explicitly setting the encoding in the response
> 
> - encoding of the request
>   This is defined by explicitly setting the encoding
> 
>   for the request.
> 
> > -----Original Message-----
> > From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 02, 2004 2:27 PM
> > To: Tomcat Users List
> > Subject: RE: Internationalization problem
> > 
> > 
> > Some sources say to set in catalina.sh
> >  JAVA_OPTS=-Dfile.encoding="UTF8"
> > 
> > What is relation of that parameter and
> Web/JSP/i18n ?
> > 
> > Evgeny Gesin
> > Javadesk
> > 
> > --- "STOCKHOLM, Raymond" <[EMAIL PROTECTED]>
> wrote:
> > > é is "�" in UTF-8.
> > > It means that your browser is returning UTF-8,
> and
> > > your servlet/JSP
> > > is expecting ISO-8859-1.
> > > Check how your JSP is configured to handle the
> > > character set.
> > > To use UTF-8 in your JSP :
> > > <%@ page contentType="text/html;charset=UTF-8"
> > > pageEncoding="UTF-8"  %>
> > > and make sure that the charset in your JSP/HTML
> is
> > > defined as UTF-8 : 
> > > <meta http-equiv="Content-Type"
> content="text/html;
> > > charset=UTF-8">
> > > 
> > > 
> > > -----Message d'origine-----
> > > De : Jonathan Abramsohn
> [mailto:[EMAIL PROTECTED]
> > > Envoy� : mardi 2 mars 2004 11:48
> > > � : Tomcat Users List
> > > Objet : Internationalization problem
> > > 
> > > 
> > > 
> > > I have problem with French special characters,
> like
> > > e with "accent" (�),
> > > When I get this character from user input,
> tomcat
> > > gets it as: é.
> > > Although I didn't check this in other languages
> I
> > > presume the same problems should also occur in
> > > German and Spanish and probably other languages.
> > > I'm working with tomcat 4.0.1 on Linux RH 9.0
> > > Anyone knows how to solve this?
> > > 
> > > 
> > > 
> > >
> >
>
---------------------------------------------------------------------
> > > 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]
> > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Search - Find what you're looking for
> faster
> > http://search.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]
> 


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.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