Package: asm / 5.1-1

encoding.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: The generation of the Javadoc fails if the default encoding is UTF-8
 due to an unmappable character. Setting the source encoding to ISO-8859-1 fixes
 this issue.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/jdoc/user.xml
+++ b/jdoc/user.xml
@@ -43,6 +43,7 @@
   <target name="dist.jdoc.user" unless="jdoc.required">
     <mkdir dir="${jdoc.dir}"/>
     <javadoc destdir="${jdoc.dir}"
+             encoding="iso-8859-1"
              windowtitle="ASM ${product.version} Documentation"
              doctitle="ASM ${product.version} Documentation"
              use="true">