SecureCRT和Vim中文乱码问题
设置
Options->Global options->General->Default session->Edit Default Settings->Terminal->
Appearance->Character encoding,
选择UTF-8
然后设置
Options->Global options->General->Default session->Edit Default Settings->Terminal->
Appearance->Font,
字体选择 courier new
vim 设置
" font, not support guifont option
"set guifont=Terminal:h12:cANSI
" let &termencoding=&encoding
" Set fileencodings
set encoding=utf-8
set termencoding=utf-8
set fileencodings=utf-8,gbk,ucs-bom,gb18030,gb2312,cp936
set fileformats=unix,dos
时间: 2024-12-08 21:33:50