首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux上查看文件编码

2013-01-02 
linux下查看文件编码在当前目录下有一个code.txt文件。vi code.txt打开;:set fileencoding;显示的是fileenc

linux下查看文件编码
在当前目录下有一个code.txt文件。
vi code.txt打开;
:set fileencoding;

显示的是  fileencoding=     ;

这里为什么是等于什么也没有呢?求解释!
[解决办法]
你把它设置为空了吧
[解决办法]
http://ungerhu.com/jxh/vi.html#s19
http://hi.baidu.com/kouzl/blog/item/4b0ad3c605e0ba129d163d9b.html

:set all                
[解决办法]
 Show all options and their values.


[解决办法]
linux上查看文件编码
[解决办法]
try: file code.txt

或者在windows下用editplus打开,选择“另存为”,看看编码格式是什么!

热点排行