i'm not sure if you're experiencing the same problem that i had but.. i
had problems getting form-data.
when i checked the locale setting on the request object
(request.getLocale()) it was set to iso8859-1.
i think tomcat sets the encoding to iso8859-1 by default if we don't
specify the encoding. you can
set the encoding manually using setCharacterEncoding() method.
request.setCharacterEncoding("shift_jis");
and place the following line on the top of your JSPs.
<%@ page contentType = "text/html;charset=shift_jis"%>
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] On Behalf Of randie ursal
Sent: Friday, September 27, 2002 5:25 PM
To: [EMAIL PROTECTED]
Subject: displaying JAPANESE characters
hi list,
i'm a bit confuse here.
i have my web aplication run on Solaris 8.0 (English Version OS)
machine, in my application i tried to
display Japanese characters as data that was generated dynamically.
This works fine, i just place
"charset = shift_jis" on my html tag.
but, when i deploy it to Solaris 8.0 (Japanese Version OS) my
Japanese characters turn into garbage like
it displays only like this "????".
does somebody expercience like this problem?
im using Tomcat 4.0 and jdk1.3.1
thanks
randie
========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found
at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com