You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/05/03 11:36:03 UTC
DO NOT REPLY [Bug 19622] New: -
Jasper2 has javaEncoding hard coded to UTF-8
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19622>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19622
Jasper2 has javaEncoding hard coded to UTF-8
Summary: Jasper2 has javaEncoding hard coded to UTF-8
Product: Tomcat 5
Version: 5.0.1
Platform: Other
URL: http://www.fwd.at/tomcat/build-using-ant-howto.html
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Jasper2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: johannes.fiala@fwd.at
CURRENT BEHAVIOUR:
Jasper2 has javaEncoding hard coded to UTF-8
DESIRED BEHAVIOUR:
Jasper 2 should allow this parameter to be set using the Jasper2-task
invocation at build.xml.
Default could still be UTF-8, so no one has to change anything.
I'll attach a suggested patch, maybe other parameters could need soft-coding as
well (I concentrated on javaEncoding).
Changes:
line 171: String javaEncoding = "UTF-8";
line 319ff:
/* Patch: allow javaEncoding to be set as ant parameter */
public String getJavaEncoding() {
return javaEncoding;
}
public void setJavaEncoding(String e) {
javaEncoding = e;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org