JorenSix / Panako

The Panako acoustic fingerprinting system.
GNU Affero General Public License v3.0
179 stars 35 forks source link

Unbale to build Panako library: Compile error #1

Closed abdulmuhsinGH closed 7 years ago

abdulmuhsinGH commented 7 years ago

After running ant in the Panako/build directory this is what occurs

Buildfile: /root/Panako/build/build.xml

compile: [javac] Compiling 87 source files to /root/Panako/bin [javac] /root/Panako/src/be/panako/util/StopWatch.java:142: error: unmappable character for >encoding ASCII [javac] formatString = "%.2f ??s"; [javac] ^ [javac] /root/Panako/src/be/panako/util/StopWatch.java:142: error: unmappable character for >encoding ASCII [javac] formatString = "%.2f ??s"; [javac] ^ [javac] 2 errors

BUILD FAILED

abdulmuhsinGH commented 7 years ago

Solved. I had to set my default Java encoding Setting the Default Java File Encoding to UTF-8:

export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 Source: https://stackoverflow.com/questions/26067350/unmappable-character-for-encoding-ascii-but-my-files-are-in-utf-8