Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Arabic text from oracle database into servlet

 
carina caoor
Ranch Hand
Posts: 300
Eclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic