Home  >  Article  >  Development Tools  >  Garbled Chinese characters in phpstorm navigation bar

Garbled Chinese characters in phpstorm navigation bar

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-16 13:39:563608browse

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.vmoptions
to 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

Garbled Chinese characters in phpstorm navigation 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

Garbled Chinese characters in phpstorm navigation bar

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn