- public class ShowSystemDefaultEncoding {
- public static void main(String[] args) {
- String encoding = System.getProperty("file.encoding");
- System.out.println("你的操作系统所用的编码为:"+encoding);
- }
- }
转载于:https://blog.51cto.com/huqianhao/953850
转载于:https://blog.51cto.com/huqianhao/953850