This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes mysql 's chinese font Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "mysql Watch "mysql New topic
Author

mysql 's chinese font

fox tie
Greenhorn

Joined: Mar 29, 2004
Posts: 7
how can i use java GUI ap to query chinese content in mysql ?
thanks .
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

The same way you query english content. Once you have a string in chinese, you can display it.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
fox tie
Greenhorn

Joined: Mar 29, 2004
Posts: 7
can't display correctly! chinese code charset is gb2312, it must change the byte to gb2312,but I don't know how to change and which charset the mysql use ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: mysql 's chinese font
 
It's not a secret anymore!