測试成功,完美解决. 仅仅需改动VIM文件夹以下的这个文件_vimrc. 加油吧,骚年.非常强大的! set encoding=utf-8 set fileencodings=utf-8,chinese,latin-1 if has("win32") set fileencoding=chinese else set fileencoding=utf-8 endif "解决菜单乱码 source $VIMRUNTIME/delmenu.vim source $VIMRUNTI
1 var cheerio = require("cheerio"); 2 var request = require('request'); 3 var iconv = require('iconv-lite'); 4 5 request.get({url:'http://mil.news.sina.com.cn/2015-07-21/1454835521.html',encoding:null},function(error,response,body){ 6 var html =