File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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
Bookmark "Handling German Characters" Watch "Handling German Characters" New topic
Author

Handling German Characters

shri ganesh
Greenhorn

Joined: Sep 08, 2002
Posts: 4
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

Joined: Mar 06, 2001
Posts: 13459

"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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handling German Characters