问题背景

写springboot的demo的时候,在实现thymeleaf国际化问题的时候,用properties解决中英文切换,但是遇到了乱码问题解决IDEA的properties中文乱码

解决方法

因为idea是将properties里的数据转化成ascll码,所以在这里设定成UTF-8格式,在这里要注意,这里设置的只是当前项目,如果想设定为所有项目默认,则File->other settings->settings for new projects,剩下的都一样了。
解决IDEA的properties中文乱码

相关文章:

  • 2021-08-30
  • 2021-12-26
  • 2021-09-16
  • 2021-04-02
  • 2021-11-27
  • 2022-12-23
  • 2022-01-03
猜你喜欢
  • 2021-04-08
  • 2021-09-02
  • 2021-08-13
  • 2022-01-17
  • 2021-05-30
  • 2022-01-07
相关资源
相似解决方案