You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andrzej Zaryski <th...@pf.pl> on 2003/06/17 09:44:12 UTC
Character encoding problem
I've got big problem!!!
How to display simultaneously ISO-8859-2 characters on JSP page getting from DB and ApplicationResources.properties file?
When I set in my JSP <%response.setContentType("text/html; charset=iso-8859-2");%> then data from DB is displayed correctly, but all words from "ApplicationResources.properties" are ??????. When I throw out response.setContentType from JSP, then DB data is ?????, but from properties file everything is OK.
I use TILES, so on layout.jsp page I've got entry <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
Please help,
Thanks
PeterB
My configuration:
Oracle 8.1.7 - charset encoding ISO-8859-2
Resin 2.1.8
Struts 1.1 (with TILES)