How do I remove  from the beginning of a file?

前端 未结 23 1132
攒了一身酷
攒了一身酷 2020-11-22 06:21

I have a CSS file that looks fine when I open it using gedit, but when it\'s read by PHP (to merge all the CSS files into one), this CSS has the following characters prepend

23条回答
  •  别那么骄傲
    2020-11-22 06:43

    I had the same problem with the BOM appearing in some of my PHP files ().

    If you use PhpStorm you can set at hotkey to remove it in Settings -> IDE Settings -> Keymap -> Main Menu - > File -> Remove BOM.

提交回复
热议问题