This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JDBC and the fly likes how to retrieve unicode data from mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to retrieve unicode data from mysql" Watch "how to retrieve unicode data from mysql" New topic
Author

how to retrieve unicode data from mysql

sachin gunale
Greenhorn

Joined: Jan 12, 2007
Posts: 1
hi,

The application stores data in mysql as unicode.
When I want retrieve data from mysql in unicode ,it gives some other format .

e.g. The data in the mysql is in Hindi format . when I want to retrieve data from mysql it gives some other format.

Regards,
Sachin
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

Have you tried reading the data as a stream? It sounds like you are trying to read raw data as a string which is getting converted to locale-specific information.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to retrieve unicode data from mysql
 
Similar Threads
plzzzzzzzz help me
shoot me but answe this question
retrieve blob data from mysql using jsp
textfield and utf-8 format
JDBC unicode conversion issue