receive and send any character in the Unicode set.
Thanks
Jonathan
-Original Message-
From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 15:27
To: Tomcat Users List
Subject: RE: Internationalization problem
Some sources say to set in catalina.sh
JAVA_OPTS
:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 10:03 AM
To: Tomcat Users List
Subject: RE: Internationalization problem
Hi,
I'm testing some japanese characters in my app and I'm getting some
strange behaviour.
japanese characters that are in the jsp page get displayed correctly
Hi,
I'm testing some japanese characters in my app and I'm getting some
strange behaviour.
japanese characters that are in the jsp page get displayed correctly.
However characters that get displayed through the fmt:message tag get
corrupted.
I have set the -Dfileencoding=UTF-8 in my
Hi,
What is there in fmt:message tag ?
Best Regards
Abhay Kumar
-Original Message-
From: Keith Hyland [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 11:03 AM
To: Tomcat Users List
Subject: RE: Internationalization problem
Hi,
I'm testing some japanese characters in my
Keith Hyland said:
I'm testing some japanese characters in my app and I'm getting some
strange behaviour.
japanese characters that are in the jsp page get displayed correctly.
However characters that get displayed through the fmt:message tag get
corrupted.
I have set the
native2ascii your properties file. works for me:).
-Original Message-
From: Keith Hyland [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 10:03 AM
To: Tomcat Users List
Subject: RE: Internationalization problem
Hi,
I'm testing some japanese characters in my app and I'm
é 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
:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 12:58
To: Tomcat Users List
Subject: RE: Internationalization problem
é 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
disableUploadTimeout=true /
Mariano
-Mensaje original-
De: Jonathan Abramsohn [mailto:[EMAIL PROTECTED]
Enviado el: martes, 02 de marzo de 2004 13:30
Para: Tomcat Users List
Asunto: RE: Internationalization problem
I've added the two lines you mentioned but it still doesn't help.
Is there a way
Hi
Thanks for your answers but It did not solve the problem.
Any other ideas?
-Original Message-
From: Mariano [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 14:35
To: 'Tomcat Users List'
Subject: RE: Internationalization problem
Yes, in the conf/server.xml file, connector
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
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
__
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster
http://search.yahoo.com
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
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
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
1) 4.1.12 is full of bugs
2) HTML header is prior to meta tag, so if you don't specify encoding in
the response the default one is
enforced ISO-8859-1 (you can see it in generated code for JSP servlet)
3) Setting it directly to response.setContentType() wont work, don't know
why, it's a bug in
Assuming you're talking about a JSP (and not a static HTML page), try doing this at
the top of your JSP file:
[EMAIL PROTECTED] contentType=text/html; charset=UTF-8%
Or
response.setContentType(text/html; charset=UTF-8);
(these are equivalent, if memory serves me correctly).
I've always been
Raphael,
I tried your jsp with my Tomcat 3.1 running with JDK1.2.2 on NT
and I got the correct results - in french. My default locale is en_US.
Ramakrishna
Get free email and a permanent address at
18 matches
Mail list logo