File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
insert chinese language to mysql db
Joined: Apr 19, 2010
Apr 21, 2010 01:06:39
i would like to ask how can i insert chinese character into db
as i type chinese in the textarea,then insert.
i view in db is become symbol (not eng and chinese)
need to set characterset in mysql and also set the characterset in jsp??
Joined: Jan 13, 2010
Apr 21, 2010 05:07:46
You should use UTF-8 character encoding like this.
create database yourdb CHARACTER SET utf8 COLLATE utf8_bin;
subject: insert chinese language to mysql db
insert chinese character jsp/java servlet
Hibernate and Unicode
JSP: Unable to connect to mysql in local drive [Solved]
Can't write arabic text into mysql database using mysql prompt
how to convert mysql tables to utf-8 ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013