移除 BOM

BOM (byte order mark) 一個萬國碼的標記, 不會顯示在你的銀幕上, 但會讓你的程式死光光. 清掉 BOM 留給你的程式一條活路 編輯器 多數的編輯器都可以設定 編碼為 UTF-8 no BOM vim 的...

29 November 2013 · 1 min · nyo

remove BOM character using vim

there is an easy way to remove BOM using vim. just type below commend in vim to remove BOM. 1 2 :set nobomb :w check BOM using vim 1 :set bomb? Reference How do I remove the BOM character from my xml file

14 July 2013 · 1 min · nyo