Javac编译的时候指定encode,缺省是使用系统的内码,windows是Shift-JIS(MS932),Unix一般是EUC --------------------------------------------------------------------- 我查了一下,在Javac编译时指定encode是指编译的源文件使用的是哪知编码,跟目标文件无关,原文如下: -encoding encoding Set the source file encoding name, such as EUCJIS/SJIS. If -encoding is not specified, the platform default converter is used.
---------------------------------------------------------------------
我查了一下,在Javac编译时指定encode是指编译的源文件使用的是哪知编码,跟目标文件无关,原文如下:
-encoding encoding
Set the source file encoding name, such as EUCJIS/SJIS. If -encoding is not specified, the platform default converter is used.