I encounter this error (warning: unmappable character for encoding ASCII) when compiling the files using apache-ant-1.7.0 through hudson build server can anyone advise on how to resolve this? I am able to build successfully using windows machine.
It sounds like you're compiling source code that contains non-ASCII characters with your platform default encoding (used by javac) set to US-ASCII.
All you have to do is use the encoding
attribute of the javac
Ant task to specify the encoding you're using to write your source code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With