help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JDE compile server and ant server problem


From: address@hidden
Subject: Re: JDE compile server and ant server problem
Date: Wed, 18 Jul 2007 08:40:41 +0900
User-agent: Thunderbird 2.0.0.4 (X11/20070615)

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, * lu@luxdo.jp <mailto:lu@luxdo.jp>* <lu@luxdo.jp <mailto:lu@luxdo.jp>> 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.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]