Hi All
I am trying to get japanese input from the HTML form. If i run my servlet in
WindowsNT environment, i am able to get the proper japanese character in the
server side. But when i move the same class file to Solaris environment, i am
getting the junk values(??????).
My Servlet code snippet is
--------------------------------
String str = req.getParameter("sSE");
System.out.println("Before: " + str);
String en = new String(str.getBytes("ISO-8859-1"));
System.out.println("After " + en);
-------------------------------
In both Windows and Solaris, i am running Tomcat3.2.3 and JDK1.3
My Character set in HTML is SJIS.
How i can get the proper string in Solaris.
Thanks in Advance
With regards
Saravanan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html