I am writing a text file in vb.net that will be used as a Unix submission script. The file on the left of the image below works, the file on the right does not. The only substantive difference in the structure of the files is that the one that works does not have a byte order mark and the one that does not work has a byte order mark. I am writing the file using the following code in vb.net:
My.Computer.FileSystem.WriteAllText(Fullpath,text,False)
How can I write the text without the BOM?