- 修改Intel J编码配置
- code
Properties pros = new Properties(); in = new BufferedInputStream(new FileInputStream("config/param.properties")); props.load(new InputStreamReader(in,"utf-8"));
SpringBoot自定义配置文件中文乱码问题
最新推荐文章于 2024-07-24 17:53:59 发布
Properties pros = new Properties();
in = new BufferedInputStream(new FileInputStream("config/param.properties"));
props.load(new InputStreamReader(in,"utf-8"));