VS Code keeps saving my files in UTF-8 with BOM
Asked Answered
R

0

9

VS Code keeps saving my files in UTF-8 with BOM. My files.encoding setting is not set (defaults to utf8) in my user settings or workspace settings. files.autoGuessEncoding setting is also not set (defaults to false). After I make any edits to a file, it automatically saves it with BOM after changing it to without BOM in Notepad++. What can I do to solve this?

Repartee answered 10/2, 2018 at 9:2 Comment(1)
did you try "files.encoding": "utf8"? https://mcmap.net/q/1320981/-how-can-i-set-the-range-of-file-autoguessencoding-in-visual-studio-codePersonality

© 2022 - 2024 — McMap. All rights reserved.