What about the garbled code when vscode opens the file?
This article will explain in detail how to do about vscode open file garbled, Xiaobian feels quite practical, so share it with you for a reference, I hope you can gain something after reading this article.
Our vscode open file defaults to utf-8 encoding, and when we open other encoded files (e.g. gb2312), it will generate garbled characters.
Solution:
vsCode menu bar click File-> Preferences-> Settings, and then on the right user settings input:
"files.autoGuessEncoding": true, about "vscode open file garbled how to do" This article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.