• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Arabic text from oracle database into servlet

 
Ranch Hand
Posts: 300
Eclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i have got arabic text and english text stored in the oracle database when i retrieve this into a servlet as xml file the arabic part is shown as ???
Do i need to set the NLS_LANGUAGE for the thin driver i am using or it is some setting with the java charsetEncoding() method.

how do i set the nls_lanuguage, and with what value do i need to set so that the english and arabic both get displayed...

suggest me to solve this issue..
 
carina caoor
Ranch Hand
Posts: 300
Eclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
after google found that i need to set the java -Doracle.jdbc.defaultNChar=true applicationName
but i dont no how do i set it...
can anyone explains me what is teh proceudre to retrieve the Nchar values from database.
[ November 12, 2008: Message edited by: ruquia tabassum ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic