具体命令如下:
grep -r $'\xEF\xBB\xBF' /var/www
用vim去除utf-8 BOM
1.’去掉utf-8 BOM
:set nobomb
2.’保留utf-8 BOM
:set bomb
具体命令如下:
grep -r $'\xEF\xBB\xBF' /var/www
用vim去除utf-8 BOM
1.’去掉utf-8 BOM
:set nobomb
2.’保留utf-8 BOM
:set bomb
转载于:https://www.cnblogs.com/toby/archive/2012/09/06/2673849.html