<0xEF> character showing up in files. How to remove them?

后端 未结 13 1108
甜味超标
甜味超标 2020-11-29 18:08

I am doing compressing of JavaScript files and the compressor is complaining that my files have  character in them.

How can I search for these cha

13条回答
  •  清酒与你
    2020-11-29 18:37

    Thanks for the previous answers, here's a sed(1) variant just in case:

    sed '1s/^\xEF\xBB\xBF//'
    

提交回复
热议问题