This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes umlat character problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "umlat character problem" Watch "umlat character problem" New topic
Author

umlat character problem

praveen kumar gowda
Greenhorn

Joined: Feb 20, 2012
Posts: 23
i have database which consists of data which includes umlat characters...so when i fetch the data from the database and trying to display it on jsp,it is showing some different vaule,say for example,

Hardware prüfen

On internet explorer this displays as

Hardware prüfen

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Apparently the encoding isn't set correctly somewhere. Best practice these days is to use UTF-8 everywhere. Is the DB set to use that? Are you setting the Content-Type header in the JSP correctly?
praveen kumar gowda
Greenhorn

Joined: Feb 20, 2012
Posts: 23
Hi Tim,


is it required to set both DB and application side?
please let me know how to set ...
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Yes, you need to handle it with the same encoding everywhere. Check the documentation of whichever DB you're using for how to do that. Generally, that needs to be done when the DB is first created.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: umlat character problem
 
Similar Threads
how to print data from a java application
communication port
Questions on Part 2
communication port
[SOLVED] This is going to drive me nuts