1. Does your database support Double Byte Character Set?; and
2. Why not use a Prepared SQL Statement passing it a byte array
Cheers,
Tammam Al-Hamwy
Voice: (416) 349-4627
Fax: (416) 349-2450
Chenping Tsou <[EMAIL PROTECTED]> on 04/27/99 03:55:17 AM
Please respond to "A mailing list for discussion about Sun Microsystem's
Java Servlet API Technology."
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Tom Al-Hamwy/Toronto/IBM)
Subject: Re: How to send Chinese Character to servlet from HTML form.
Try this. Hope it might solve your problem.
Ping
Gu Xiaofeng wrote:
> Hi all
>
> I meet such proplem:
> I have a web page contain a form. User can input some thing in the taxt
> field of the form. When the form is submitted, a servlet will be called.
> The problem is when user input Chinese characters in the form, the
servlet
> only read some '?'.
> How to resolve it? Any information are appreciated.
>
> Best regards
> Gu Xiaofeng
>
>
___________________________________________________________________________
> 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
Converter.java