tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: pageEncoding and Jasper
Date Wed, 30 Jan 2002 21:07:10 GMT

----- Original Message -----
From: "Kevin Jones" <kevinj@develop.com>
To: "'Tomcat Developers List'" <tomcat-dev@jakarta.apache.org>
Sent: Wednesday, January 30, 2002 11:55 AM
Subject: RE: pageEncoding and Jasper


> > pageEncoding should be the encoding of the file containing
> > the page, should not it?
>
> I assumed that the encoding would be set as part of the content-type
> header in the generated servlet, but I can't see the value anywhere in
> the servlet code.
Your assumtion is wrong.  The pageEncoding is only used to set the encoding
on the Reader when the jsp page is compiled.  See section 3.1 of the JSP
spec.
>
> > >do  anything. I can't use
> > >
> > > <%@ page contentType="text/html; charset=windows-1256" %>
> > >
> >
> > Why?
>
> Because IE hates it (although being fair that seems to be a limitation
> of IE)
>
> Kevin Jones
> Developmentor
> www.develop.com
>
> > -----Original Message-----
> > From: jfclere@vtxrm2.bcn.fsc.net
> > [mailto:jfclere@vtxrm2.bcn.fsc.net] On Behalf Of jean-frederic clere
> > Sent: 30 January 2002 18:00
> > To: Tomcat Developers List
> > Subject: Re: pageEncoding and Jasper
> >
> >
> > Kevin Jones wrote:
> > >
> > > If I add a
> > >
> > > <%@ page pageEncoding="windows-1256" %>
> > >
> > > (or any pageEncoding)
> > >
> > > What does Jasper do with this? I would expect this to be set on the
> > > content-type header but it's not.
> >
> >
> > >Jasper certainly parses the parameter
> > > and fails if I put an invalid value in there, I just can't
> > get it to
> >
> > > I have to use
> > >
> > > <META HTTP-EQUIV="content-type" CONTENT="text/html;
> > > charset=windows-1256">
> > >
> > > Some of this might seem like a user question, but I'm more
> > concerned
> > > about how Jasper works and what it should be doing.
> > >
> > > Thanks,
> > >
> > > Kevin Jones
> > > Developmentor
> > > www.develop.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-dev-> unsubscribe@jakarta.apache.org>
> > > For
> > additional commands,
> > e-mail:
> > > <mailto:tomcat-dev-help@jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-dev-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>
>


--
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