tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michel <compu...@videotron.ca>
Subject Re: UTF-8 encoding in Tomcat 6.0 fixed
Date Tue, 03 Aug 2010 21:02:03 GMT

----- Original Message ----- 
From: "michel" <compukat@videotron.ca>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, August 03, 2010 1:08 PM
Subject: Re: UTF-8 encoding in Tomcat 6.0


>
> ----- Original Message ----- 
> From: "michel" <compukat@videotron.ca>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Tuesday, August 03, 2010 9:35 AM
> Subject: Re: UTF-8 encoding in Tomcat 6.0
>
>
>>I am having a simmilar problem with Tomcat Version 6.0.26. I have a JSP 
>>with some french characters that run quite well on my local windows 
>>machine.When I transfer the JSP source code to the Linux server the JSP 
>>gets converted to java source code with the wrong character set. I have 
>>played with all kinds of  variations of
>>
>> <%@ page language="java" errorPage="/ErrorPage.jsp" 
>> pageEncoding="ISO-8859-1" contentType="text/html;charset=ISO-8859-1"%>
>>
>>
>> with no change. I am assuming that my jsp to servlet is set wrong ...
>>
>>
>>
>> Michel
>>
>
>
> Just looking for a hint here in the right direction ...
>
>
> The JSP is compiled by jasper-compiler-jdt.jar, but in the previous 
> versions it was javac. So I assume that the reason why my French 
> characters in the jsp are being whacked when converted to a .java file is 
> that I am missing a configuration parameter in a file.
>
> Thanks!
>
>
>
> Michel
>


Got it fixed with <%@ page language="java" errorPage="/ErrorPage.jsp" 
contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message