我正在使用 Visual Studio Express 2012 for Web 来编辑一些 ANSI 编码的 html 和 javascript 文件。当我保存更改时,VS 将文件的编码更改为带有 BOM 的 UTF-8。
Visual Studio 发出以下警告:
The character encoding for the file file.htm has changed. Your source control provider may have problems managing files with this type of encoding. For example, if you save an ANSI-encoded file as UTF-8 you may not be able to merge or show differences.
有没有办法让 Visual Studio 保存文件而不更改编码?