This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41129
    
  45
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: charset problem
 
Similar Threads
Fire a trigger from an external application on database update
Relational Record List using views
Max Open Cursor! Please Help.
Phantom Read / Garbled Data for WAS 5 to DB2 7 OS390
Compilation Error and Run time exception