标签: utf-8 character-encoding visual-studio-code vscode-settings byte-order-mark
VS Code一直使用BOM保存我的UTF-8文件。我的用户设置或工作区设置中未设置files.encoding设置(默认为utf8)。 files.autoGuessEncoding设置也未设置(默认为false)。在对文件进行任何编辑后,在将其更改为Notepad ++中没有BOM后,它会自动将其与BOM一起保存。我该怎么做才能解决这个问题?
files.encoding
utf8
files.autoGuessEncoding
false