When we executed the
cnpm install webpack webpack-dev-server
command, we found garbled characters, as shown in the figure below

##We Right-click in the Git Bash window and select [Options...], as shown in the figure below:

Then make relevant settings:

After completing the above steps, the Chinese garbled characters are resolved, and the display effect is as shown below:

The above is the detailed content of How to solve the problem of garbled characters when using Git Bash. 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