Home > Development Tools > VSCode > body text

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

王林
Release: 2020-02-07 17:05:25
Original
4187 people have browsed it

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

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

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

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

alias ls='ls --show-control-chars --color=auto'
Copy after login

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

set output-meta on
set convert-meta off
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template