Properties prop=new Properties();
prop.load(new InputStreamReader(Client.class.getClassLoader().getResourceAsStream("config.properties"), "UTF-8"));
Properties prop=new Properties();
prop.load(new InputStreamReader(Client.class.getClassLoader().getResourceAsStream("config.properties"), "UTF-8"));
本文标题:Java读取properties配置文件时,中文乱码解决方法
本文链接:https://www.haomeiwen.com/subject/jcbsmttx.html
网友评论