hey Joshy Switch to Unicode -16 your going to have nothing but problem until you do
when it come to japanese linux, mac, windows, and even novell they do all the encodeing differently. but let face it any new machine (xp, MacX and Linux) all have unicode and more importantly java is unicode as well ----- Original Message ----- From: "JOSHY MON M C" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 5:37 PM Subject: Tomcat - Japanese Char Support > Dear All, > > I have created an HTML form. with some input text fields. I am using POST > method for submitting the request to a servlet. My servlet is running in > Tomcat 4.1. My html page contains japanese charectors and thus I use > Shift_JIS as the encoding for my html page. Servlet application reads the > data using getParameter() and processing it. In the normal senario, it works > well. > > But when I enter JAPANESE characters in these text fields and request to > Servlet for data processing, Servlet's getParamer() is returning junk > charecters(??). I think this problem is because Tomcat by default encodes > all the paramets in ISO8859_1 encoding. But as my html encoding is Shift_JIS > browser will encode the form parameters using Shift_JIS and Tomcat cannot > recognize this. Is my assumption correct? Do you know any technique to > resolve this issue.? > > TIA > Jiju George > > =========================================================================== > 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