Javac: specify encoding

This is necessary for javac 1.8.0 openJDK to compile without getting stuck on special characters.
This commit is contained in:
Simon Duquennoy 2017-11-16 20:31:10 +01:00 committed by GitHub
parent cb43d142a2
commit 91fb96e769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
<target name="compile" depends="init" description="compile the source">
<javac srcdir="${src}" destdir="${build}" classpathref="classpath"
debug="${javac.debug}" includeantruntime="false">
debug="${javac.debug}" includeantruntime="false" encoding="utf-8">
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-deprecation"/>
<exclude name="tests/**" />