How do I modify the -encoding argument to javac in the Android Ant build system

Posted by Paul Butcher on Stack Overflow See other posts from Stack Overflow or by Paul Butcher
Published on 2010-02-08T01:54:10Z Indexed on 2010/06/12 14:52 UTC
Read the original article Hit count: 252

Filed under:

Apologies if this is a stupid question - I'm an Android and Ant newbie.

I have utf8 encoded source files that I need to compile with the Android Ant build system. By default, the encoding is set to ascii. I'd be very grateful for a pointer to whatever I need to do to let the build system know that my files are utf8.

Incidentally, it works fine if I build in Eclipse, but I need to build from the command line.

Thanks!

© Stack Overflow or respective owner

Related posts about android