I have a
JSP page which fetches the user names from the database and displays them in a drop down list through XMLHttpRequest.
The problem is the German characters are not displayed and replaced by question marks on the web page.
Those German characters are shown properly in the database and in the log file( I log the html output before send it back to the JSP file). When I print out the data through alert box, the German characters are shown as square boxes.
I tried to encode those German characters with 'UTF-8' and 'ISO-8859-1' before sending them back and decode them before showing them on the web page. But that doesn't make a difference and they are still shown as question marks.
I use IE 6.0 and it supports German characters and displays them when I visit sites in German languages. The Oracle database supports German. The
JBoss application server runs on Linux box and/or Windows xp. I have the same problem no matter which JBoss I use.
What can I do to fix this problem?
Thank you.
[ January 18, 2007: Message edited by: Caly LeeAnn ]