idea各種中文顯示亂碼解決大全

2021-10-08 23:37:17 字數 839 閱讀 3346

1. 編碼普通中文亂碼

2. properties檔案中文亂碼

3. console控制台中文亂碼

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中文亂碼問題。

————————————————

idea控制台中文顯示亂碼

這行 提供複製 dfile.encoding utf 84.最後就是所有配置都沒問題,但是仍然輸出亂碼,這個時候只有一種解釋 idea把你的字型編碼弄錯了,但是在 弄錯的呢。經過多次排查尋找,終於,在專案的目錄下有個.idea的資料夾,這個資料夾裡有個encodings.xml的檔案裡面記錄了你某些...

解決SecureCRT中文顯示亂碼

以下兩步 遠端linux機器。修改環境變數lang。例如在 bash profile裡面新增 plain view plain copy export lang zh cn.utf8 重新登入之後生效。現在檢視一下當前設定 plain view plain copy myname myhost lo...

解決SecureCRT中文顯示亂碼

遠端linux機器。修改環境變數lang。例如在 bash profile裡面新增 plain view plain copy export lang zh cn.utf8 重新登入之後生效。現在檢視一下當前設定 plain view plain copy myname myhost locale ...