idea各种中文显示乱码解决大全 您所在的位置:网站首页 编写二维码生成程序 idea各种中文显示乱码解决大全

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

2024-02-13 09:01| 来源: 网络整理| 查看: 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 实验室设备网 版权所有