中文乱码问题分类:

  1. 编码普通中文乱码
  2. properties文件中文乱码
  3. console控制台中文乱码
  4. 搜索框中文乱码
  5. svn注释中文乱码

问题截图:

2、properties文件中文乱码

idea各种中文显示乱码解决大全

4,、搜索框中文乱码

idea各种中文显示乱码解决大全

5、svn注释中文乱码

idea各种中文显示乱码解决大全

 

 

解决方法:

1、编码普通中文乱码

①settings --> editor  --> code style --> file encodings 中IED Encoding 和project Encoding defult encoding for properties files 三个设置为utf-8

idea各种中文显示乱码解决大全

②打开idea安装地址\bin中idea.exe.vmoptions 和idea64.exe.vmoptions 打开文件在最后加上-Dfile.encoding=UTF-8

这样中文显示OK了

idea各种中文显示乱码解决大全

 

2、properties文件中文乱码

project Encoding defult encoding for properties files后面的要打勾

idea各种中文显示乱码解决大全

idea各种中文显示乱码解决大全

3、console控制台中文乱码

VM options 中加上-Dfile.encoding=UTF-8

4、搜索框中文乱码

editor -->  color& font  -->  font中primary font 一定要选择DialogInput

idea各种中文显示乱码解决大全

5、svn注释中文乱码

同上4

idea各种中文显示乱码解决大全

idea各种中文显示乱码解决大全

PS:最好所有都设置一遍,解决所有ide中文乱码问题。

相关文章:

  • 2021-09-30
  • 2021-11-18
  • 2021-04-02
  • 2021-09-20
  • 2021-09-23
  • 2021-10-12
  • 2021-03-27
  • 2021-07-22
猜你喜欢
  • 2021-10-22
  • 2021-07-16
  • 2021-12-24
  • 2022-01-20
  • 2021-10-19
  • 2021-12-18
相关资源
相似解决方案