I am trying to display unicode characters within a
JSP.
It works fine if I set the contentType in the @page directive to "text/html;charset=utf-8". However, if I include another JSP from within the first, the unicode characters from the second JSP show up as garbage.
I can get around this by also setting the contentType within the 2nd JSP to utf-8. However, the JSP specification says that only one @page attribute can be specified per JSP translation
unit. So what I am doing is a violation, and I am surprised that it even works.
I am using Visual Age for
Java 3.5.3, which uses JSP 1.1. Any thoughts on what the problem may be?
Erick