diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-03-16 16:52:39 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-03-16 16:53:06 (GMT) |
commit | e331a315acbcdeee1a1643ff787a9ad93b3e9fb0 (patch) | |
tree | 7d197519e6f391eb09f2b9108226c91059c10c43 | |
parent | 56bf08427b1d3768556f4600075e79a8d03c26d2 (diff) | |
download | stroke-e331a315acbcdeee1a1643ff787a9ad93b3e9fb0.zip stroke-e331a315acbcdeee1a1643ff787a9ad93b3e9fb0.tar.bz2 |
Always use utf-8
-rw-r--r-- | build.xml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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}"/> |