tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19622] New: - Jasper2 has javaEncoding hard coded to UTF-8
Date Sat, 03 May 2003 09:36:03 GMT
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


Mime
View raw message