Re: pageEncoing and contentType

2004-04-21 Thread seiji takegata
Hi, jean wrote: > > The action is described in JSP spec's. > I think not adding ";charset=ISO-8859-1" does not break the spec's and fixes > your problem. > In my code, I've not add ";charset=ISO-8859-1". I just specified pageEncoding then jasper translates it to charset, which I don't want.

Re: pageEncoing and contentType

2004-04-21 Thread jean-frederic clere
seiji takegata wrote: Hi, I found the portion of the code which add charset string specified in pageEncoding when charset is not specified in contentType in the jasper source code Varidator.java. public static void validate(Compiler compiler, Node.Nodes page) th

Re: pageEncoing and contentType

2004-04-21 Thread seiji takegata
Hi, I found the portion of the code which add charset string specified in pageEncoding when charset is not specified in contentType in the jasper source code Varidator.java. public static void validate(Compiler compiler, Node.Nodes page) throws JasperException

Re: pageEncoing and contentType

2004-04-20 Thread seiji takegata
Hi, > > Ok. My example was show how to use a different charset and pageEncoding. > But what you want is to prevent the pageEncoding beeing use as charset... No > easy as for the moment Tomcat puts the pageEncoding in the charset ;-(. > > Would make sense not to put the "; charset=ISO-8859-1"? T

Re: pageEncoing and contentType

2004-04-20 Thread jean-frederic clere
seiji takegata wrote: Hi jean, Thank you for your reply. On BS2000 I use the following for native jsp: +++ <%@ page session="false" pageEncoding="OSD_EBCDIC_DF04_1" contentType="text/html; charset=iso-8859-1" %> +++ I tried, but it did not help. I'm trying to generate a binary content, not h

Re: pageEncoing and contentType

2004-04-20 Thread seiji takegata
Hi jean, Thank you for your reply. > On BS2000 I use the following for native jsp: > +++ > > <%@ page session="false" pageEncoding="OSD_EBCDIC_DF04_1" > contentType="text/html; charset=iso-8859-1" %> > +++ > I tried, but it did not help. I'm trying to generate a binary content, not html. That

Re: pageEncoing and contentType

2004-04-20 Thread jean-frederic clere
Jan Luehe wrote: seiji takegata wrote: Hi, I'm trying to generate PDF document from JSP, using itext library. (http://www.lowagie.com/iText/) I set contentType attribute to get browser open AdobeReader, and pageEncoding to get right encoding for Japanese characters, <%@ page contentType="appli

Re: pageEncoing and contentType

2004-04-20 Thread seiji takegata
Hi Jan, Thank you for your reply. I read the section of the specification. But something is not clear to me. I have to specify pageEncoding attribute to tell jasper what character encoding is used in the jsp page. At the same time, I have to specify exact HTTP header content-type string so that

Re: pageEncoing and contentType

2004-04-19 Thread Jan Luehe
seiji takegata wrote: Hi, I'm trying to generate PDF document from JSP, using itext library. (http://www.lowagie.com/iText/) I set contentType attribute to get browser open AdobeReader, and pageEncoding to get right encoding for Japanese characters, <%@ page contentType="application/pdf" pageE