You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/02 11:37:48 UTC
DO NOT REPLY [Bug 14188] New: -
directive "import" in the included page causes encoding(charset) modification for this page
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14188>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14188
directive "import" in the included page causes encoding(charset) modification for this page
Summary: directive "import" in the included page causes
encoding(charset) modification for this page
Product: Tomcat 4
Version: 4.1.12
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Jasper 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: yura@ibis.odessa.ua
directive "import" in the included page causes encoding(charset) modification
for this page
EXAMLE1 - FILES
page1.jsp------------------------------------------------
<%@ page contentType="text/html; charset=windows-1251" %>
<%@ include file="include1.jsp" %>
<PRE>
PAGE 1 TEXT
����� �� �������� PAGE 1 << RUSSIAN TEXT IN Win1251
PAGE 1 TEXT
</PRE>
page1.jsp------------------------------------------------
include1.jsp------------------------------------------------
<html>
<head>
<title>CHarset TEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0">
<PRE>
INCLUDE 1 TEXT
����� �� �������� INCLUDE 1
INCLUDE 1 TEXT
</PRE>
include1.jsp------------------------------------------------
EXAMLE1 - RESULT
------------------------------------------------------------
INCLUDE 1 TEXT
����� �� �������� INCLUDE 1
INCLUDE 1 TEXT
PAGE 1 TEXT
����� �� �������� PAGE 1 << RUSSIAN TEXT IN Win1251
PAGE 1 TEXT
------------------------------------------------------------
EXAMLE2 - FILES
page1.jsp------------------------------------------------
<%@ page contentType="text/html; charset=windows-1251" %>
<%@ include file="include1.jsp" %>
<PRE>
PAGE 1 TEXT
����� �� �������� PAGE 1 << RUSSIAN TEXT IN Win1251
PAGE 1 TEXT
</PRE>
page1.jsp------------------------------------------------
include1.jsp------------------------------------------------
<%@ page import="java.lang.String"%>
<html>
<head>
<title>CHarset TEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0">
<PRE>
INCLUDE 1 TEXT
����� �� �������� INCLUDE 1
INCLUDE 1 TEXT
</PRE>
include1.jsp------------------------------------------------
EXAMLE2 - RESULT
------------------------------------------------------------
INCLUDE 1 TEXT
????? ?? ???????? INCLUDE 1 << RUSSIAN TEXT IN Win1251
INCLUDE 1 TEXT
PAGE 1 TEXT
����� �� �������� PAGE 1
PAGE 1 TEXT
------------------------------------------------------------
jasper 1 not have this problem
???
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>