Hello all,
I am using Struts for a web-application and the web-page should be in UTF-8 encoding, but the application keeps sending the following header: Content-Type: text/html;charset=ISO-8859-1. I take the following action to get the page into UTF-8. - in the struts config file: <controller contentType="text/html;charset=UTF-8" nocache="true" /> - in the main tiles layout: <%@ page language="java" contentType="text/xml; charset=UTF-8" %> (at the top) <meta http-equiv="content-type" content="text/html; charset=UTF-8">( in the head part of the document) The page is valid xhtml 1.0 transitional and I get no errors what so ever. I tested it in mozilla and IE and both say it is the ISO-8859-1 content type. Does anybody know the solution to this problem? Thanks Ronald