Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

reading Farsi from DB2 problem

  Asked By: Kerri    Date: Oct 10    Category: Java    Views: 1008
  

i want to reading farsi text from db2 and writing it in console or file.
But when i reading it i got ??? instead of farsi characters.
im using db2java.zip by COM.ibm.db2.jdbc.app.DB2Driver and
my database CODESET = UTF-8

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Lenora Green     Answered On: Oct 10

i want to reading  farsi text  from db2  and writing  it in console  or file.
But when i reading it i got ??? instead of farsi  characters.
im using db2java.zip by COM.ibm.db2.jdbc.app.DB2Driver and
my database  CODESET = UTF-8

 
Answer #2    Answered By: Ryan Evans     Answered On: Oct 10

Could it be a parameter in the jdbc  url?

 
Answer #3    Answered By: Aamanee Khan     Answered On: Oct 10

I had this problem  last year , you just should write a Encoding filter
for your JSP pages or for your container.Even your CODESET=UTF-8.
If your database  is on mainframe your Encoding should be from EBCIDIC to UTF-8.
I think I have the filter yet . Send and email then I will Send you the filter .

 
Answer #4    Answered By: Michele Grant     Answered On: Oct 10

Can you send me that filter too????????????????

 
Didn't find what you were looking for? Find more on reading Farsi from DB2 problem Or get search suggestion and latest updates.




Tagged: