You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jean-frederic clere <jf...@fujitsu-siemens.com> on 2005/05/05 17:58:24 UTC
JspReader/Parser and encoding
Hi,
When following the code, something looks strange:
The JspReader converts from sourceEnc to JAVA (UTF-8) so why
isDefaultPageEncoding not set to true?
Find enclosed the patch I have tested on BS2000 with jsp files in EBCDIC using
+++
<jsp-property-group>
<url-pattern>/*</url-pattern>
<page-encoding>OSD_EBCDIC_DF04_1</page-encoding>
</jsp-property-group>
+++
In web.xml
Without the patch the page is sent in EBCDIC to the broswer
(text/html;charset=OSD_EBCDIC_DF04_1).
Any comments?
Cheers
Jean-Frederic