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