1. As the topic description
Edit the. vimrc file in the user directory. if there is no new one, write the following:
set encoding=utf-8 set fileencodings=utf-8,chinese,latin-1 if has("win32") set fileencoding=chinese else set fileencoding=utf-8 endif "Resolve menu misprints source $VIMRUNTIME/delmenu.vim source $VIMRUNTIME/menu.vim "Solving consle Output Scrambling language messages zh_CN.utf-8
Then there is the most important, cmder new command line selection
PowershellDon’t use it
Cmd vim of the system is good, but not in cmder. I tried Powershell and found there were no random codes.
My win7 Powershell is 4.0