Re: JDE compile server and ant server problem
| Newsgroups | gmane.emacs.help,gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your reply.
I'm sorry but the part of wrong encoding is not from source,
The source is very simple and looks like
public class Test {
aa
}
the part of wrong encoding is from compiler's output.
How to solve this problem.
Thanks
Suraj Acharya writes:
> The default encoding on windows is not utf8.
> System.getProperty("file.encoding") will tell you what it is, but if
> your source file is utf8 then you need to explicitly tell the compiler
> to use that encoding.
>
> Try adding the arguments "-encoding" and "utf8" to
> jde-compile-option-command-line-args.
>
> Suraj
>
> On 7/17/07, * [email protected] <mailto:[email protected]>* <[email protected]
> <mailto:[email protected]>> wrote:
>
> I use ntemacs22,jde to develop java application,when I compile the
> source
> It seems the encoding is wrong,the compile server's
> output looks like the following.
>
> -classpath d:/home/lu/build -g d:/soft/emacs-22.1/bin/Test.java
> d:/soft/emacs-22.1/bin/Test.java:3: <identifier> \202\302\252........
>
> My Os is windows xp(japanese language)
> what's the problem.
>
> by the way,it is no problem on linux(utf8)
>
> Thanks.
>
>