• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with DB2 & Unicode !!!  RSS feed

Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends.
I use DB2 v.7 on IBM Mainframe with )S/390 on it.
the problem is, our App must read & write Unicode characters to DB
( mostly Persian - Arabic ) but simply ... I can't do it !?
I had this problem with MYSQL too but I solved it with a this parameters in the Connection string ---> useUnicode=true&characterEncoding=utf-8 <--
con = DriverManager.getConnection("jdbc:mysql://localhost/MyDB?user=MyName&password=MyPassword&useUnicode=true&characterEncoding=utf-8");

I'm using standard JDBC comes with DB2 that is :
Is there any way like I mentioned above? (about MYSQL)
any suggestions?
Thank you
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!