tags:

views:

413

answers:

1

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.

+1  A: 

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.

Michael Borgwardt