java获取系统字符编码

System.out.println(System.getProperty("file.encoding"));

原文地址:https://www.cnblogs.com/javaweb2/p/6625114.html