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 characters and remove them?
Name: Zero Width No-Break Space (BOM, ZWNBSP)
You can easily remove them using vim, here are the steps:
1) In your terminal, open the file using vim:
vim file_name
2) Remove all BOM characters:
:set nobomb
3) Save the file:
:wq
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With