Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Japanese Text Not Dispaly

 
Sameera Abeysekara Abeysekara
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Sameera Abeysekara Abeysekara
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please i need help argent.

thanks
sameera
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic