Home>Article>Web Front-end> How to solve the problem of garbled characters when using Git Bash

How to solve the problem of garbled characters when using Git Bash

一个新手
一个新手 Original
2017-09-18 09:44:52 2152browse

When we executed the

cnpm install webpack webpack-dev-server

command, we found garbled characters, as shown in the figure below

Git Bash乱码问题

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


步骤一: 解决Git Bash乱码问题

Then make relevant settings:


步骤二: 解决Git Bash乱码问题

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


Git Bash中文乱码解决了

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