Somehow I can\'t get my UTF-8 sources to play nice with Ant.
I get a whole lot of \"warning: unmappable character for encoding ascii\". I\'m going crazy, really. Hou
Are you specifying the file encoding to the compiler correctly? The java compiler will otherwise default to use the platform's default encoding, which on Windows (for example) is not UTF-8. The encoding is specified by using the -encoding flag to javac.
javac -encoding utf8 ...
And in ant build.xml: