Hi,
I need to store chinese charaters to database,
I use a servlet to read the chinese text from a
textarea
Eg. String chinese =
request.getParameter("Chinesetext");
if i put this string to database it stores only
30 characters(because each chinese character is stored
as eightnumbers eg. "��" for one character
i'll be grateful if anyone can tell me how to encode
this to database so as it is stored as a single
character
i use IBM's DB2 as database
and the field is text char(255) DB2 does not allow
to store more than 255 characters
drop me your suggestions
Thanx a lot
regards,
Aleem
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
___________________________________________________________________________
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