Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unicode in tomcat

Status
Not open for further replies.

crazyreini

Programmer
Joined
May 18, 2006
Messages
2
Location
AT
Hi!
I have a JSP application where a bean result a text in unicode with polish characters. But in the browser the characters will displayed as ? and not the real character. In the Source code of the Java file the correct character is shown.

Is there any setting i have to change. The browser is able to display such characters, because i tried it with other webpages such as this one:

I hope someone can help me!

kind regards

Reinhard Achleitner
 
Have you tried adding the following directive to your JSP page :

<%@ page language="java" contentType="text/html; charset=UTF-8" %>

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Hi!

Thanks for your reply. I tried it now, but no change..

regards

Reinhard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top