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 Java 8 in Action this week in the Java 8 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: 39578
    
  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
Phantom Read / Garbled Data for WAS 5 to DB2 7 OS390
Fire a trigger from an external application on database update
Relational Record List using views
Max Open Cursor! Please Help.
Compilation Error and Run time exception