Programming Tips - Java: How can I fix: myfile.java: error: unmappable character for encoding Cp1252

Date: 2016nov26 Language: Java, Ant Q. Java: How can I fix: myfile.java: error: unmappable character for encoding Cp1252 A. Add the encoding to your <javac> statement, in build.xml for example:
<javac ... encoding="utf-8" ... >