Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Japanese character problem  RSS feed

 
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
 
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 ]
 
This cake looks terrible, but it tastes great! Now take a bite out of this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!