程式編寫完,首行首字自動被加上<feff> - Linux

By Harry
at 2011-08-22T16:29
at 2011-08-22T16:29
Table of Contents
CentOS5.5
在終端機環境,VI 環境, 編寫程式
終端機文字預設UTF-8
我也沒轉碼,都是純英文+數字程式碼
寫完之後一直無法執行
後來用VIM檢視程式碼,每個檔案首行首字被系統冠上 <feff>
查到的資料是這幾個字會在轉碼時跑出,問題是我又沒轉碼
這幾個字是怎麼跑出來的?
--
在終端機環境,VI 環境, 編寫程式
終端機文字預設UTF-8
我也沒轉碼,都是純英文+數字程式碼
寫完之後一直無法執行
後來用VIM檢視程式碼,每個檔案首行首字被系統冠上 <feff>
查到的資料是這幾個字會在轉碼時跑出,問題是我又沒轉碼
這幾個字是怎麼跑出來的?
--
Tags:
Linux
All Comments

By Oscar
at 2011-08-24T17:22
at 2011-08-24T17:22

By Jake
at 2011-08-27T15:31
at 2011-08-27T15:31

By Bennie
at 2011-08-30T07:33
at 2011-08-30T07:33
Related Posts
CentOS 3.9 Bind支援IPv6嗎?

By Annie
at 2011-08-21T15:35
at 2011-08-21T15:35
Mplayer 字幕外框

By Valerie
at 2011-08-21T03:58
at 2011-08-21T03:58
VLC 沒有OpenGL?

By Wallis
at 2011-08-21T03:25
at 2011-08-21T03:25
sendmail 可用domain name順利寄出 但딠…

By Tracy
at 2011-08-21T02:04
at 2011-08-21T02:04
無root權限如何在tty下交換ctrl跟caps lock

By Skylar Davis
at 2011-08-20T23:01
at 2011-08-20T23:01