File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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: 42906
    
  69
How are you handling character encoding: in SQLServer, in DB2, in your transfer class, and in the code where you display it?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: charset problem