jdk中提供了native2ascii这个方法,是文件能够按照要求的字体编码。格式如下:native2ascii -encoding Shift_JIS source.Properties result.properties在cmd窗口中进行编译即可。