You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michiel Meeuwissen <Mi...@omroep.nl> on 2003/12/17 13:28:04 UTC

<%@include and UTF-8

I have a page encoded in UTF-8. So I set <%@page pageEncoding="UTF-8" %>

Now I can actually use UTF-8 in my page, and it works as it should.

If however I include a piece of JSP, with <%@include %> then this included
page can not be in UTF-8. It is interpreted as if it is ISO-8859-1, and on
the including page therefore appear garbage.

I saw this in tomcat 4.1.27 and 5.0.16.

How can I indicate that the included page is in UTF-8 as well?

 Michiel


-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

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


Re: <%@include and UTF-8

Posted by Michiel Meeuwissen <Mi...@omroep.nl>.
Michiel Meeuwissen <Mi...@omroep.nl> wrote:
>    I saw this in tomcat 4.1.27 and 5.0.16.

Correction: In tomcat 4.1.27 is works as expected after all. It is only
tomcat 5 which behaves weirdly.

 Michiel



-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

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