[Jython-checkins] jython: Support UTF-8 encoded Java source files in builds on systems where the

jim.baker jython-checkins at python.org
Thu Jul 17 18:06:51 CEST 2014


http://hg.python.org/jython/rev/f52f81d83a74
changeset:   7349:f52f81d83a74
user:        Werner Mendizabal <werner.mendizabal at rackspace.com>
date:        Thu Jul 17 10:06:12 2014 -0600
summary:
  Support UTF-8 encoded Java source files in builds on systems where the
default encoding is not UTF-8.

Fixes http://bugs.jython.org/issue2180

files:
  ACKNOWLEDGMENTS |  1 +
  build.xml       |  3 ++-
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/ACKNOWLEDGMENTS b/ACKNOWLEDGMENTS
--- a/ACKNOWLEDGMENTS
+++ b/ACKNOWLEDGMENTS
@@ -110,6 +110,7 @@
     Richard Eckart de Castilho
     Timothée Lecomte
     Peter Holloway
+    Werner Mendizabal
 
 Local Variables:
 mode: indented-text
diff --git a/build.xml b/build.xml
--- a/build.xml
+++ b/build.xml
@@ -474,7 +474,8 @@
                deprecation="${deprecation}"
                nowarn="${nowarn}"
                memoryMaximumSize="192m"
-               fork="true">
+               fork="true"
+               encoding="UTF-8">
             <compilerarg line="${javac.Xlint}"/>
             <src path="${source.dir}"/>
             <src path="${gensrc.dir}"/>

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list