I am having trouble displaying special characters and hence my web pages are
unable to render characters like the Trademark or Copyright symbols.
Initially I thought it was a Tomcat problem coz it was working fine in Resin
and Weblogic. But if I place the same file outside the Struts application
(tomcat-docs or examples) it works fine. However it show '?' if plcaed
inside the Struts application.

Any ideas how can I fix this ugly problem in my app. The app is unusable
without this.

Thanks a lot.

Affan

Here is my code for the Test JSP:
<%@page contentType="text/html; charset=UTF-8"%>
<html>
<head><title>Test JSP</title></head>
<body>
<% out.println('\u00A9'); %>
<% System.out.println("This © is test");%>
<BR>
<% out.println("This &#176; is test"); %>
<BR>
<% out.println("This © is test"); %>
<BR>
<% out.println("This \u00A9 is test"); %>  <%= "©"%>
<BR>
<% out.println("This \u00B0 is test"); %>
<BR>
<% out.println("This \u00AE is test"); %>
<BR>
<% out.println("This \u0099 is test"); %>
<BR>
<% out.println("This \u00F6 is test"); %>
<% out.flush(); %>
</body>
</html>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to