File struts-1.2.9-javac-encoding.patch of Package struts
Index: struts-1.2.9-src/build.xml
===================================================================
--- struts-1.2.9-src.orig/build.xml
+++ struts-1.2.9-src/build.xml
@@ -398,7 +398,7 @@
destdir="${build.home}/library/classes"
debug="${compile.debug}"
optimize="${compile.optimize}"
- deprecation="${compile.deprecation}">
+ deprecation="${compile.deprecation}" encoding="UTF-8">
<classpath refid="compile.classpath"/>
</javac>
<copy todir="${build.home}/library/classes">
@@ -457,7 +457,7 @@
version="true"
windowtitle="Apache Struts API Documentation"
doctitle="<h1>Apache Struts Framework (Version ${project.version})</h1>"
- bottom="Copyright © 2000-${year} - The Apache Software Foundation">
+ bottom="Copyright © 2000-${year} - The Apache Software Foundation" encoding="UTF-8">
<classpath refid="compile.classpath"/>
</javadoc>
</target>