Here is an encoding detector and UTF8 BOM / UTF8 without BOM converter..
Platform : C# 2010
Operating System : Windows
2000 /
XP /
2003 /
Vista /
win7 (32bit)
Requirements : v4.0 .NET framework
Filesize : 8.5kb
Download
Steven Wittens (aka unconed) declaration :
Finding CSV files that start with a BOM using ripgrep

Platform : C# 2010
Operating System : Windows





Requirements : v4.0 .NET framework
Filesize : 8.5kb
Download
Steven Wittens (aka unconed) declaration :
The UTF-8 BOM was a Microsoft invention. Nobody else uses it, and it breaks tons of things. Two examples off the top of my head: Unix hashbang scripts (i.e. #!/bin/bash), and PHP scripts (the BOM will trigger HTTP header finalization before any code is run).
Finding CSV files that start with a BOM using ripgrep