Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
JDBC and Relational Databases
insert chinese language to mysql db
Li Jenny
Ranch Hand
Posts: 57
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
??
Ravinderjit Singh
Ranch Hand
Posts: 78
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You should
use UTF-8 character encoding like this.
create database yourdb CHARACTER SET utf8 COLLATE utf8_bin;
Your buns are mine! But you can have this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...