Cygwin input display Chinese

xiaoxiao2021-03-06  63

Cygwin Environment Bash Entering Chinese X: For the drive letter, / HOMENAME is an existing directory name, such as C: / MyHome. Bash will look for initialization files in the X: / Homename directory. By default, the Bash command line cannot enter Chinese characters. You must create files in the x: / homename directory. INPUTRC, the content is as follows: SET META-FLAG ON SET CONVERT-META OFF SET OUTPUT-META ON In order to let the Less command display Chinese characters X: /Homename/.bashrc Add: Export Lesscharset = Latin1 In order to display the Chinese character file and directory name in X: /Homename/.bashrc: Alias ​​Ls = 'ls --Show-control-char' startup color Support Alias ​​Ls = 'ls -n --color'

转载请注明原文地址:https://www.9cbs.com/read-89930.html

New Post(0)