BTW, I didn't intend to write "nobody is going to help you", I meant
to write "nobody is going to BE ABLE TO help you". Sorry for the shift
in tone there.

Ant is a tool that invokes other tools. Your error is not coming from
ant, so you need to provide the relevant information for us to be able
to help.

What you cite below is exactly what was missing from your first
message, and makes it easy to help you.

Your problem is with the java compiler, javvac. (That's from the
[javac] at the start of the fline). It is telling you that the problem
it is having is with the file Stuff.java, on line 23.

I presume the file itself is fine. It tells you that it is trying to
understand it as ascii, however. My point wasn't just that the files
should be in UTF-8, but that ALL the TOOLS need to use UTF-8 as well.
Ant will by default, but you're using more than just ant.

In this case, javac is using ascii by default -- so you should tell it
what encoding you're using.

The Ant manual is at http://ant.apache.org/manual/; you can navigate
from there to find the javac task. There, you'll find it takes an
encoding= attribute, so supplying encoding='utf-8' should fix your
problem!

On Apr 17, 3:27 am, "Lo'oris" <[email protected]> wrote:
> On Apr 15, 11:42 pm, Bob Kerns <[email protected]> wrote:
>
> > I'm afraid that nobody is going to help you, because you don't give
> > enough context to indicate just what tool is giving this message.
>
> I don't understand, I told I got this message compiling with ant ("ant
> debug", "ant release", etc.)
>
> I'm editing with TextMate (OSX 10.5) and I *did* save the files as
> UTF-8.
>
>     [javac] Compiling 12 source files to /Users/looris/Sviluppo/
> android/projects/toutry/bin/classes
>     [javac] /Users/looris/Sviluppo/android/projects/toutry/src/net/
> looris/toutry/Stuff.java:23: warning: unmappable character for
> encoding ascii
>     [javac]             return (poked=false); // NOTA: è
> un'assegnazione, non un controllo!
>     [javac]                                                ^
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to