wood burning stoves 2.0*
The moose likes JDBC and the fly likes how to put  Chinese SQL query into mySQL???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to put  Chinese SQL query into mySQL????" Watch "how to put  Chinese SQL query into mySQL????" New topic
Author

how to put Chinese SQL query into mySQL????

Samuel Chan
Greenhorn

Joined: Jun 10, 2001
Posts: 20
I've try it with the following code:
new String("chinese_here".getBytes(),"Big5");
and use mmmysql JDBC driver to connect
but still can't pass the correct data into mySQL.
Please help and thanks alot!!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to put Chinese SQL query into mySQL????