HI

Convert the "input" parameters to "Big5" character set and then use in the
query.
like, c_name = new String(c_name.getBytes("ISO-8859-1"),"Big5");



-pradeep
-----Original Message-----
 $B:9=P?M (B : Joe Lei <[EMAIL PROTECTED]>
 $B08@h (B : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
 $BF|;~ (B : 1999 $BG/ (B11 $B7n (B2 $BF| (B 12:51
 $B7oL> (B : Manipulate TC Big5 charset from Oracle db from servlet


>Dear wisers
>
>I need to manipulate TC Big5 varchar2 fields to/from (select, insert,
update, etc.) an Oracle using servlet through Oracle JDBC OCI driver.
>
>I'm able to select columns and display correctly when setting
>
>  response.setContentType("text/plain; charset=Big5");
>  PrintWriter out = response.getWriter();
>  ...
>  out.println("<p>" + rs.getString("c_name") + "</p>");
>
>but can't insert fields that is input from user through a browser.
>
>Pls help, thanx
>Joe
>
>___________________________________________________________________________
>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
>

___________________________________________________________________________
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

Reply via email to