InWindowsThe defaultMsysgitOfShellEnvironment (that isGit
Bash).ShellEnter Chinese characters in the interface and do some processing.
1 Methods of online circulation
Modify configuration file\ Git \ etc \ inputrc, Add or modify the configuration as follows. CloseGit bashRestart the instance.MsysgitOfShellEnter Chinese characters in the environment.
# Disable/enable 8bit Input Set meta-flag on Set input-meta on Set output-meta on Set convert-meta off |
I tried this method and restarted it.Git bashThe entered Chinese characters are still garbled. Puzzled ......
Note: My msysgit version: Git-1.7.11-preview20120710.exe
2 Alternative methods
DownloadMSYS-CN latest version, Official Website: http://code.google.com/p/msys-cn/, my download is
MSYS-CNThis version supports Chinese display. ReplaceBinDirectory decompression OverwriteGitInBinDirectory (remember to back up the original
BinDirectory ). Then runGit-BashYou can enter Chinese characters normally.
In the US, only half of Chinese characters can be deleted at a time when Chinese characters are deleted, and problems still occur when accessing the Chinese directories.