Under Windows, you can use “fc /b file1 file2” to compare them and the UTF8 with BOM file will have first 4 bytes as:
EF BB BF xx
Under Windows, you can use “fc /b file1 file2” to compare them and the UTF8 with BOM file will have first 4 bytes as:
EF BB BF xx