Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes charset problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "charset problem" Watch "charset problem" New topic
Author

charset problem

Habib Ghayoumi
Greenhorn

Joined: Dec 30, 2008
Posts: 6
Hi,
I am going iransfer my data from sql server to db2. i have writen a simple java class that reads record by record from my tables and write them into db2.
every thing is good except columns that contain farsi fonts. They appear like square in my db2 database and also in my forms.

can anyone help me.
thanks alot.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42035
    
  64
How are you handling character encoding: in SQLServer, in DB2, in your transfer class, and in the code where you display it?


Ping & DNS - my free Android networking tools app
 
GeeCON Prague 2014
 
subject: charset problem