Home > Article > Development Tools > Garbled Chinese characters in phpstorm navigation bar
1. The shortcut key setting keymap in the settings appears in Chinese, or Chinese garbled characters
Cause: The jdk in IDEA selects the local JDK, and JDK1.5 The above version is multi-lingual, and the local language of the operating system will be selected, so the compilation prompt will become Chinese. Solution:
Add:
IntelliJ IDEA Community Edition 2016.3.3\bin\idea.exe.vmoptions IntelliJ IDEA Community Edition 2016.3.3\bin\idea64.exe.vmoptionsto both
-Duser.country=EN -Duser.language=us
Note: I have a 64-bit operating system, so I changed the file idea64.exe.vmoptions to solve the Chinese garbled shortcut keys.
Related recommendations: "PhpStorm Usage Tutorial"
2. Console outputs Chinese garbled characters
Solution:
Add in
IntelliJ IDEA Community Edition 2016.3.3\bin\idea.exe.vmoptions IntelliJ IDEA Community Edition 2016.3.3\bin\idea64.exe.vmoptions
:
-Dfile.encoding=UTF-8
3. Chinese garbled characters in the menu bar
Reason: The font does not support Chinese display, in idea China , the default is Ubuntu font, changing the font does not support Chinese display, select a supported Chinese display.
In File-->settings-->Appearance & Behavior-->Appearance
The above is the detailed content of Garbled Chinese characters in phpstorm navigation bar. For more information, please follow other related articles on the PHP Chinese website!