Home>Article>Development Tools> How to solve the Chinese garbled problem after vscode integrates "git bash"

How to solve the Chinese garbled problem after vscode integrates "git bash"

王林
王林 Original
2020-02-07 17:05:25 4059browse

How to solve the Chinese garbled problem after vscode integrates

1. Search the gitconfig file in the git directory and add the following content:

[gui] encoding = utf-8 [i18n] commitencoding = GB2312 [svn] pathnameencoding = GB2312

2. Search the git-completion.bash file in the git directory and add the following content:

alias ls='ls --show-control-chars --color=auto'

3. Search the inputrc file in the git directory and add the following content:

set output-meta on set convert-meta off

Recommended related articles and tutorials:vscode tutorial

The above is the detailed content of How to solve the Chinese garbled problem after vscode integrates "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