wood burning stoves 2.0*
The moose likes JDBC and the fly likes Japanese Text Not Dispaly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Japanese Text Not Dispaly" Watch "Japanese Text Not Dispaly" New topic
Author

Japanese Text Not Dispaly

Sameera Abeysekara Abeysekara
Greenhorn

Joined: Apr 10, 2007
Posts: 19
I write code to retrieves data from access database using ODBC connection but database contains Japanese characters.
when retrieve Japanese text and display using servlet(creating html) but Japanese character garbage.



what I do to solve this problem?

can anyone help me

Thanks
Sameera
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Why are you using the JDBC-ODBC bridge? Could you not use a proper type-4 driver?

Is your database set up to store unicode data? Do you define your charset in your Servlet?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Sameera Abeysekara Abeysekara
Greenhorn

Joined: Apr 10, 2007
Posts: 19
I solved this problem in jbuilder. i change language to Japaneses using regional settings then i created "USER DSN".when i use j builder bundled tomcat its work properly(i mean show Japaneses text properly).

then i tried to deploy in side the i manually installed tomcat it dosn't work.

how can i solve this problem.

thanks
sameera
Sameera Abeysekara Abeysekara
Greenhorn

Joined: Apr 10, 2007
Posts: 19
Please i need help argent.

thanks
sameera
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Japanese Text Not Dispaly
 
Similar Threads
showing japanese characters
Japanese encoding problem
Retrieving japanese characters through jdbc
Garbage Chatacters
storing the Unicodes in the database