I\'ve got java source files with iso-8859-1 encoding. When I run ant, I get \"warning: unmappable character for encoding UTF-8\". I can avoid this if I run an
If you've got files encoded in a particular way, it's probably best to tell javac that rather than forcing the whole JVM to use a particular encoding. The javac task has an encoding attribute for this reason.
But really, you should just convert the source files to UTF-8. Everything tastes better in UTF-8. :)