解决secureCRT和vim乱码
scturtle
posted @ 2011年9月03日 14:50
in linux
, 4141 阅读
secureCRT 和 vim 都有乱码问题,有时候以为是一个的问题结果却是另一个的,不如统一设成utf-8。
对于 secureCRT:
会话选项 -> 终端 ->外观:字体选为 fixsys 或 terminal,字体编码选为UTF-8。
对于 vim:
.vimrc 中加入:
set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1
对于文件:
用:
$ file 文件命名
来查看文件编码,用:
$ iconv -f big5 -t UTF-8 -o users.txt users.utf8.txt
转换文件编码。
如果按如上 vim 设置后,文件打开无乱码,可用:
:set fenc
查看文件编码,用:
:set fenc=utf-8
转换文件编码并保存。
对于screen,新开或恢复时都加-U参数就可以了。
2022年9月16日 22:48
The Math Magic Sample Paper with Solutions for Both Medium Students Studying in All Regions is available for download for CBSE Board 3rd Class Students. CBSE Class 3 Maths Question Paper Here we have published the practise question paper for the mentioned topics of Class 3 under the CBSE Board. Math subject specialists provide chapter wide solutions along with examplar questions to each topic of the course.