Alex Rivera | Logout

UTF-8 without BOM

Asked 2011-03-23T13:45:41.333
208

I have javascript files that I need them to be saved in UTF-8 (without BOM), every time I convert them to the correct format in Notepad++, they are reverted back to UTF-8 with BOM when I open them in Visual Studio. How can I stop VS2010 from doing that?

Another question, is UTF-8 without signature in Visual Studio the same as UTF-8 without BOM?

Edit
Report

1 Answer

29

I've created the Fix File Encoding extension that prevents Visual Studio 2010+ from adding BOM to UTF-8 files.

answered 2012-11-26T14:18:35.017

Your Answer