Tools used: Visual Studio Professional 2013 Team Foundation Server 2013
Problem: I have a solution under source control containing a project with some SSIS packages. The encoding of all the *.dtsx files is UTF-8. Now all of a sudden whenever I create a new package and want to save it I get a message from Visual Studio (Source Control) that the file encoding has changed. In Source Control Explorer I can see that the encoding of the new *.dtsx file is windows 1252 and I can manually set it to UTF-8.
I've tried to change my windows locale to english, I also checked Tools => Options => Environment => Document to save in Unicode if saving in Codepage is not possible. All of this did not work: still each new SSIS package is created in windows 1252 encoding. Does anybody know how to reset the default to UTF-8 ?
There is no native way to accomplish this. I did, however, find a free third-party extension – Fix File Encoding that will prevent Visual Studio from changing files from UTF-8 encoding, or from adding BOM to that encoding.