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

Handling German Characters

 
shri ganesh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We have a requirement in our application to handle German Characters(umlouts). When we try to insert or update a page with German characters, the german chars are converted into some junk chars and stored in the db. When we retrieve them, the same junk chars shows up on the screen. We have set the character set to UTF-8 in the jsp and in the servlet. The character set on the browser is also set to UTF-8. We are using Oracle thin driver and iAS 6.0 as the app server. We even checked the database setting. We were told to set NLS_LANG parameter. That has been set too. Have any of you come across such a problem in your application? or is there any other database setting or app server setting that we have missed out? Would appreciate an early response on this.
Thanks,
shri
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"shri",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
Thanks.
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic