Commit 3385ac09 authored by Evan W. Patton's avatar Evan W. Patton

Fix ComponentTranslation encoding on non-UTF-8-by-default platforms

Javac default output format for files is platform-specific. In the
ai.apt macro we do not specify the encoding, so we end up with
ISO-8859-1 strings on Windows that GWT later attempts to decode as
UTF-8 strings. This commit sets the encoding for the javac command to
be UTF-8 so that encodings work correctly on platforms (e.g., Windows)
where the default encoding is not UTF-8.

Change-Id: Iac68786e71983e8605e982a093d3daae09d49c01
parent 910fb80b
...@@ -225,6 +225,7 @@ ...@@ -225,6 +225,7 @@
</fileset> </fileset>
</delete> </delete>
<javac destdir="@{apt-classdir}" <javac destdir="@{apt-classdir}"
encoding="utf-8"
sourcepath="" sourcepath=""
srcdir="${src.dir}" srcdir="${src.dir}"
includeantruntime="false"> includeantruntime="false">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment