A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
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
JSP: Unable to connect to mysql in local drive [Solved]
Hibernate and Unicode
Can't write arabic text into mysql database using mysql prompt
how to convert mysql tables to utf-8 ?
insert chinese character jsp/java servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014