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


    本文链接:https://blog.csdn.net/liqimo1799/article/details/81811153
    中文乱码问题分类:

    编码普通中文乱码
    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安装地址in中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中文乱码问题。
    ————————————————
    版权声明:本文为CSDN博主「liqimo1799」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/liqimo1799/article/details/81811153

  • 相关阅读:
    数组_leetcode283
    数组_leetcode438
    数组_leetcode215
    数组_leetcode167
    数组_leetcode209
    数组_leetcode88
    数组_leetcode80
    数组_leetcode76
    数组_leetcode75
    数组_leetcode27
  • 原文地址:https://www.cnblogs.com/LessNull/p/11664829.html
Copyright © 2020-2023  润新知