File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Handling German Characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Handling German Characters" Watch "Handling German Characters" New topic

Handling German Characters

shri ganesh

Joined: Sep 08, 2002
Posts: 4
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.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at
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.
I agree. Here's the link:
subject: Handling German Characters
It's not a secret anymore!