Re: JDE compile server and ant server problem
JM Ibanez <[email protected]> Thu, 19 Jul 2007 09:55:49 +0800
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Organization | Orange & Bronze Software Labs, Ltd. Co. |
| Message-ID | <[email protected]> |
"[email protected]" <[email protected]> writes: > 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. What he means is that the compiler looks at the system's default encoding to determine what the source file encoding is; however, in Windows, the default encoding may not be UTF-8, and so would cause your source file to be interpreted in the wrong encoding (hence the error). If you try adding the suggested command line options, it may force the compiler to ignore the system encoding and treat the source as UTF-8. Please try the suggestion first. HTH -- JM Ibanez Software Architect Orange & Bronze Software Labs, Ltd. Co. [email protected] http://software.orangeandbronze.com/