This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes A Question About Mysql and netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "A Question About Mysql and netbeans" Watch "A Question About Mysql and netbeans" New topic
Author

A Question About Mysql and netbeans

liu yang
Greenhorn

Joined: Nov 08, 2008
Posts: 2
when mysql connect with nebeans or Eclipse,it can display letters normaly ,but it can not display chinese character?
who can solve it ?Thank you
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

Liu,
Welcome to JavaRanch!

Can you show the code snippet you are referring to? Or is this a plugin for one of the IDEs?


[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
liu yang
Greenhorn

Joined: Nov 08, 2008
Posts: 2
thank you!
I want to show the information int the table such as "乔丹","公牛队",but in eclipse`s console characters changed to be irrecognizable because different coder or other reasons.why?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44038
    
  33
Try putting the information onto a Swing Component. Rather than System.out.println(...), try JOptionPane.showMessageDialog(null, "...");

Beware: JOptionPane produces modal windows, so you will have delays while you close them.

If that works, then you know you can display the text somehow.
 
Have you checked out Aspose?
 
subject: A Question About Mysql and netbeans
 
It's not a secret anymore!