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"? That would help you and > should have no side effects on browsers. >
If you specify: <%@ page contentType="application/pdf; charset=iso-8859-1" pageEncoding="Shift_JIS" %> then content type in the jasper generated code would be: "application/pdf; charset=iso-8859-1" If you specify: <%@ page contentType="application/pdf" pageEncoding="Shift_JIS" %> then: "application/pdf; charset=Shift_JIS" (ouch!) else if: <%@ page contentType="application/pdf"%> "application/pdf" This is what I want. Anyway, I'm grad to know you (or someone) are interested in this problem, thanks. -- seiji takegata [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]