Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp include - utf-8 encoding problem  RSS feed

 
Artur Wronski
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
I've simple jsp page which looks like this:
<%@ page contentType="text/html; charset=UTF-8" %>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
</HEAD>
<BODY>
<jsp:include page="test.html" flush="true" />
<%@ include file="test.html" %>

</BODY>
</HTML>
test.html is a normal text file with utf-8 encoding.
I deployed this page on tomcat 5.0.15 (Linux) but there is a problem with encoding. In some way tomcat don't include correctly (in both ways) my test file and I don't get correct output (there are some strange characters).
I've tried this with tomcat 4.1.24 too and there is the same problem.
How can i fix it, please help.
Arthur
[ December 26, 2003: Message edited by: Artur Wronski ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!