问题背景

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

解决方法

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

相关文章:

  • 2021-11-01
  • 2021-11-21
  • 2021-08-13
  • 2021-08-13
  • 2021-07-28
  • 2021-08-13
  • 2021-08-13
  • 2021-11-21
猜你喜欢
  • 2021-08-13
  • 2022-01-07
  • 2021-08-13
  • 2021-08-13
  • 2022-01-03
  • 2021-12-15
  • 2021-12-06
相关资源
相似解决方案