1.首先找到IDEA在本地的安装路径,找到idea.exe.vmoptions文件和idea64.exe.vmoptions文件,在其最后一行添加

-Dfile.encoding=UTF-8

  idea 的 terminal 乱码

2.idea默认使用的是系统自己的cmd.exe文件进行命令行操作
修改为本地安装的git服务的\bin\bash.exe文件

  idea 的 terminal 乱码

  idea 的 terminal 乱码 结果

  idea 的 terminal 乱码

相关文章:

  • 2021-07-13
  • 2022-02-16
  • 2022-12-23
  • 2021-05-18
  • 2021-11-11
  • 2021-08-03
  • 2021-11-30
猜你喜欢
  • 2021-07-13
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-09-12
  • 2021-05-18
相关资源
相似解决方案