Windows command line, Git can not display Chinese solution to the problem

Windows of the Git provided encoding a normal display Chinese: 
set the environment variable in the CMD
SET LESSCHARSET = UTF-. 8
set the environment variable in PowerShell
$ the env: LESSCHARSET = 'UTF-. 8'
GitBash normal display Chinese:
Open Gitbash -> Right -> options -> left side text-> set locale: zh_cn, set Character set: GBK-> save-> apply
test is normal: GitBash enter systeminfo see whether the normal display

Guess you like

Origin www.cnblogs.com/burningcarbon/p/11272605.html