summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 6e5cbde..acdf51f 100644
--- a/build.xml
+++ b/build.xml
@@ -32,7 +32,9 @@
<target name="compile" depends="init"
description="compile the source " >
- <javac srcdir="${src}" destdir="${build}" classpathref="classpath" debug="${compile.debug}"/>
+ <javac srcdir="${src}" destdir="${build}" classpathref="classpath" debug="${compile.debug}">
+ <compilerarg line="-encoding utf-8"/>
+ </javac>
</target>
<target name="dist" depends="compile"
@@ -48,6 +50,7 @@
<target name="compile-tests" depends="dist"
description="compile the test sources " >
<javac srcdir="${src.tests}" destdir="${src.tests}" debug="${compile.debug}">
+ <compilerarg line="-encoding utf-8"/>
<classpath>
<pathelement location="${jar}"/>
<pathelement location="${JUNIT_JAR}"/>