What is the default encoding for source files in visual studio 2017

前端 未结 5 1057
独厮守ぢ
独厮守ぢ 2020-12-16 13:13

It seems visual studio 2017 always saves new files as UTF8-BOM. It also seems this was not the case with earlier versions of visual studio, but i could not find any documen

5条回答
  •  庸人自扰
    2020-12-16 13:46

    You can use EditorConfig with the charset property to define encoding for source files in VS 2017.

提交回复
热议问题