2008/9/6 André-John Mas <[EMAIL PROTECTED]>: > Hi, > > I have Tomcat 6 installed on a French version of Windows XP. When > error pages, such as the 404 error page, appear the French text is > corrupted. > For example, instead of the expected: > > "La ressource demandée (/manager/html) n'est pas disponible." > > I get: > > "La ressource demand�e (/manager/html) n'est pas disponible." > > This would appear to indicate that the page is being encoded as UTF-8 > and then treated as ISO-8859-1. The display is consistent in all > browsers I have tested with, which include IE6, Safari and Firefox. > Has anyone seen this and do they know how to resolve it? I know I > could simply use my own error page, but that is not the answer I am > looking for, >
1. What, exactly, Tomcat version are you using? 2. Does Content-Type header of the response contain the ";charset=utf8" suffix? You can check that using LiveHTTPHeaders firefox plugin, or using wget --save-headers, or connecting through telnet. In my case, the Content-Type: of the 404 page is "text/html;charset=utf8", and the browser (Firefox 3) correctly detects that the page encoding is UTF-8. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]