Question : Visual Studio 2010 removal of Bite Order Mark VB -or PHP solution?

Creating web pages programmatically in visual studio 2010 (VB.net) and using some PHP includes created in notepad and imported into Visual Studio for deployment.
The Bite Order Mark   (          ï»¿       ) is appearing in all pages created.
I have tried to change the UTF8Encoding as follows but still the BOMs appear in the htm pages created.

Dim outputEnc = New UTF8Encoding(False)

HTMLPageStreamWriter = New StreamWriter(WebPageFilename, False, outputEnc)

How can I either prevent the inclusion of the BOM in the output textfile or include a small snippet of PHP to eliminate the BOM before serving the page?

Answer : Visual Studio 2010 removal of Bite Order Mark VB -or PHP solution?

Try the Load Optimized Defaults first., If that doesn't work try the other one. Good luck.
Random Solutions  
 
programming4us programming4us