Board logo

標題: 讓Vim 支援 UTF-8 編碼 [打印本頁]

作者: danny    時間: 2008-5-26 15:29     標題: 讓Vim 支援 UTF-8 編碼

編輯 ~/.vimrc,如沒有請自行產生...加入下面設定
複製內容到剪貼板
代碼:
set encoding=utf-8
set fileencodings=ucs-bom,utf-8,big5,latin1
set fileencoding=big5
set termencoding=big5
設定這樣之後...以後每次使用vi ...就是使用utf8 編碼了...
資料來源:adj網路實驗室




歡迎光臨 ihao論壇 (https://ihao.org/dz5/) Powered by Discuz! 6.0.0