在當前用戶目錄下,新建 .vimrc文件,在裏面添加
syntax on
set fileencodings=ucs-bom,utf-8,utf-16,gbk,big5,gb18030,latin1
set fileencoding=utf-8
syntax on表示語法高亮;fileencoding表示保存文件時的默認文件編碼;fileencodings表示vim讀取文件時,採用的編碼識別序列,從左往右匹配。
在當前用戶目錄下,新建 .vimrc文件,在裏面添加
syntax on
set fileencodings=ucs-bom,utf-8,utf-16,gbk,big5,gb18030,latin1
set fileencoding=utf-8
syntax on表示語法高亮;fileencoding表示保存文件時的默認文件編碼;fileencodings表示vim讀取文件時,採用的編碼識別序列,從左往右匹配。
以下是在創建應用程序桌面快捷方式文件的內容要求: [Desktop Entry] 文件頭 Encoding 編碼格式 Name 應用名稱 Name[xx] 不同語言的應用名稱 Comment 描述 E