• Post Reply Bookmark Topic Watch Topic
  • New Topic

Japanese character problem

 
Vels Manian
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm using jdk1.3 and oracle9i in sun os.
The character set of the database is set to ShiftJIS (also tried with UTF8). I'm able to store and retrieve katakana(japanese) values using sqlplus from a jp nt machine.. if I use jdbc to retrieve the values it is displayed as '?'. I've tried using getBytes also, it doesnt seem to work.
Thanks & Regards
Vels
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose that this is server side problem (JSP etc.)I assume you database is properly setup with charset moreover if your Oracle database is set to use UTF-8(or other appropriate), then the JDBC drivers should be doing the conversion
Can you post your code?
[ February 07, 2003: Message edited by: varun Khanna ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!