Actually the strangeness with the language="java" attribute was version 4.1.3. Whatever was going on seems to have been fixed since then.
I just tried 4.1.8 and it seems to work fine. I tried <%@ page pageEncoding="Shift_JIS" %> AND <%@ page contentType="text/html; charset=Shift_JIS" %> and they both worked fine. By the way I am using the 4.1.8 with the IBM 1.3 JDK on a Linux machine. Also as you should be able to tell by the above examples, I am using the original (not the new xml) syntax for the jsp files. > -----Original Message----- > From: Osamu Hashimoto [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 13, 2002 4:22 PM > To: Tomcat Developers List > Cc: [EMAIL PROTECTED] > Subject: Re: pageEncoding for Shift_JIS doesn't work by using Apache > Tomcat/4.1.8-LE-jdk14 > > > > Hello David. > > Thank you for your consideration. > > But on Tomcat 4.1.2 alpha -- the version can't be downloaded > at this moment -- > pageEncoding did work without other page directive elements. > > I think it is degrating issue of Tomcat's developing and I > want say to commiter > to fix the problem. > > pageEncoding is assessment of JSP specification 1.2 and > Tomcat shuold be > take a leaf of specification. > > Is this "Tomcat Develepers List" is not suit for this kind of > opinion??? > > > ----- Original Message ----- > From: "David Shanahan" <[EMAIL PROTECTED]> > > > > > > I found that if you don't specify the language attribute > then encoding seems > > to > > be ignored. > > > > example: > > > > <%@ page contentType="text/html; charset=Shift_JIS" > pageEncoding="Shift_JIS" > > %> > > > > Does NOT work (UFT8 is assumed) but... > > > > <%@ page language="java" contentType="text/html; charset=Shift_JIS" > > pageEncoding="Shift_JIS" %> > > > > DOES work. > > > > > > > -----Original Message----- > > > From: Osamu Hashimoto [mailto:[EMAIL PROTECTED]] > > > > > > > > > > > > Hi ! > > > > > > JSP's directive element "pageEncoding" doesn't work by using > > > Apache Tomcat/4.1.8-LE-jdk14. > > > > > > pageEncoding did work on current version of Tomcat 4.1.2 alpha. > > > but the version is not available now. > > > > > > It sounds like Tomcat's degrading incident. > > > > > > I want to have description and opinion by commiter, and other > > > developer using no UTF-8 charactor. > > > > > > Osamu Hashimoto > > [EMAIL PROTECTED] > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
