A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
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
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: insert chinese language to mysql db
how to convert mysql tables to utf-8 ?
Can't write arabic text into mysql database using mysql prompt
Hibernate and Unicode
JSP: Unable to connect to mysql in local drive [Solved]
insert chinese character jsp/java servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015