wood burning stoves 2.0*
The moose likes JDBC 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
JavaRanch » Java Forums » Databases » JDBC
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: 30929
    
158

Liu,
Welcome to JavaRanch!

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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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: 39834
    
  28
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A Question About Mysql and netbeans