A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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;
I agree. Here's the link:
subject: insert chinese language to mysql db
Can't write arabic text into mysql database using mysql prompt
how to convert mysql tables to utf-8 ?
JSP: Unable to connect to mysql in local drive [Solved]
insert chinese character jsp/java servlet
Hibernate and Unicode
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014