You have to translate the parameter from one character set to another. for
example :
String myparam = new
String(request.getParameter("name").getBytes("iso-8859-1"),"iso-8859-7");
-----Original Message-----
From: lancelot [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: Need your help on request.getParameter and Chinese encoding.
Importance: High
Excuse me,
I need help. One form field of my jsp contain Chinese Characters. and I
post the form to my servlet, and my servlet insert the imformation into my
Oracle DB. my question is how to get the request.getParameter("name") in
Chinese character encoding and insert it properly into Oracle DB. I need you
help very urgently, Thanks a lot.
Lancelot
===========================================================================
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://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
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://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets