2019独角兽企业重金招聘Python工程师标准>>> System.out.println(System.getProperty("file.encoding")); 如果是在eclipse中运行,则打印的是eclipse中设置的编码。 转载于:https://my.oschina.net/u/232879/blog/156026