File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,16 @@ sudo: false
55jdk :
66 - oraclejdk8
77
8- install : mvn install -DskipTests -Dgpg.skip
8+ install :
9+ - export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
10+ - mvn install -DskipTests -Dgpg.skip
911
1012script :
13+ - export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
1114 - mvn verify -Dgpg.skip
1215
1316after_success :
17+ - export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
1418 - mvn coveralls:report -Dgpg.skip
1519
1620cache :
Original file line number Diff line number Diff line change @@ -220,6 +220,11 @@ reference C implementation.
220220The library requires a minimum Java language revision level 6, but has been tested and verified to work
221221with JDK 1.6, JDK 1.7 and JDK 1.8.
222222
223+ First, make sure you have the correct file encoding (UTF8) set for Java on your system.
224+ Include this environment variable in your ` .profile ` or ` .bashrc ` :
225+
226+ export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
227+
223228To build the library:
224229
225230 cd <MAPCODE-HOME>
You can’t perform that action at this time.
0 commit comments