tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y...@netpotlet.com
Subject Re: pageEncoding and Jasper
Date Fri, 08 Feb 2002 03:26:51 GMT
From: "Craig R. McClanahan" <craigmcc@apache.org>
Subject: RE: pageEncoding and Jasper
Date: Thu, 31 Jan 2002 06:49:39 -0800 (PST)
Message-ID: <20020131064817.E77425-100000@icarus.apache.org>

> On Thu, 31 Jan 2002, Kevin Jones wrote:
> 
> > Date: Thu, 31 Jan 2002 10:37:10 -0000
> > From: Kevin Jones <kevinj@develop.com>
> > Reply-To: Tomcat Developers List <tomcat-dev@jakarta.apache.org>
> > To: 'Tomcat Developers List' <tomcat-dev@jakarta.apache.org>
> > Subject: RE: pageEncoding and Jasper
> >
> > So it's only used when compiling the JSP to a servlet?
> 
> If "it" is the pageEncoding attribute of the <%@ page %> directive, then
> the answer is yes.

Craig, the answer is "no".
The pageEncoding attribute is used to "read" only. Servlet codes
generated from JSP pages are written in UTF-8. You can confirm
the encoding of generated Servlet codes by a browser (Netscape: 
View -> Character Coding) or a utf-8 enabled editor.
So, the encoding for compile is UTF-8 only.

---
Yoko Kamei Harada, Web Studio Ne-Po-Le
http://www.netpotlet.com/

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message