File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Retrieving japanese characters through jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Retrieving japanese characters through jdbc" Watch "Retrieving japanese characters through jdbc" New topic

Retrieving japanese characters through jdbc

ranga rajan

Joined: Sep 25, 2002
Posts: 4
Iam using Jdk1.3 and Oracle 8.1.7. My OS is in english.
The NLS of Oracle database is set to UTF8.
The oracle database contains japanese characters. Iam using a java
program to fetch these japanese characters. Iam using JDBC to do this.
When i fetch this data and display it on the console or write into a file,
it is written as '?'(Question marks.)
I even changed the setting of my OS to support japanese, even then this
can anyone help me on this.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

You are more likely to find an end-to-end solution in the JDBC dforum, so I'm sending this thread there.
I agree. Here's the link:
subject: Retrieving japanese characters through jdbc
It's not a secret anymore!