Re: Pound symbol
Re: Pound symbol
- Subject: Re: Pound symbol
- From: "Ricardo J. Parada" <email@hidden>
- Date: Thu, 19 Mar 2009 17:46:24 -0400
On Mar 19, 2009, at 5:39 PM, Q wrote:
What encoding does your .java file have? And when it doesn't work,
how was that .java file compiled?
.java files should ALWAYS be UTF-8, because that's what javac
expects, however eclipse doesn't care.
My gut feel is that your .java file is MacRoman and when eclipse
compiles the class it works, and when javac compiles the class it
doesn't.
Yep... I'm leaning towards that too. Here's why:
There are two directories. The "build" directory and the "dist"
directory. The compiled class in the "build" directory has the
correct characters when I look at it with the decompiler (JD-GUI).
But when I look at the compiled class in the "dist" directory which is
where it gets placed when I run ant from the command line, then the
characters look wrong in JD-GUI.
So I'm gonna be looking at how the compiler gets told what encoding to
use. Does anybody know?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden