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

您所在的位置:网站首页 尊宏陶瓷的logo是怎样的 idea各种中文显示乱码解决大全

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

2024-02-13 20:22| 来源: 网络整理| 查看: 265

中文乱码问题分类:

编码普通中文乱码properties文件中文乱码console控制台中文乱码搜索框中文乱码svn注释中文乱码

问题截图:

2、properties文件中文乱码

4,、搜索框中文乱码

5、svn注释中文乱码

 

 

解决方法:

1、编码普通中文乱码

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

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

这样中文显示OK了

 

2、properties文件中文乱码

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

3、console控制台中文乱码

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

4、搜索框中文乱码

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

5、svn注释中文乱码

同上4

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



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3