There's a utility 'bomstrip' (tool to strip Byte-Order Marks from UTF-8 text files).

sudo apt install bomstrip

https://www.ueber.net/who/mjl/projects/bomstrip/

http://muzso.hu/2011/11/08/using-awk-sed-to-detect-remove-the-byte-order-mark-bom

Reply via email to