aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39535
    
  27
How are you handling character encoding: in SQLServer, in DB2, in your transfer class, and in the code where you display it?


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: charset problem
 
Similar Threads
Relational Record List using views
Max Open Cursor! Please Help.
Fire a trigger from an external application on database update
Compilation Error and Run time exception
Phantom Read / Garbled Data for WAS 5 to DB2 7 OS390