JM Ibanez writes: > "lu@luxdo.jp" 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 > > > Thanks for your reply. I tried,but it is same.please see the attachment. javac compiler is ok,but the javac server is wrong encoding. I think the problem is not the encoding of source, the error message is from compiler server.(perhaps bean shell's problem?) (Buy the way,it works well on linux.)