In Visual Studio, I created an empty file (supposed to be a log file) and marked it as "Copy to output directory". It contains 3 bytes (BOM UTF-8).
If I manually delete all contents in external editor, it is copied as is, 0 bytes. However if I add one character in Visual Studio editor, it is copied as 4 bytes file - the BOM is back.
I don't like that. Is there a way how to tell Visual Studio not to add BOM?