【解决】
文件→首选项→设置
在搜索框输入:files.autoGuessEncoding,然后勾上选框。重启vscode即可。
vscode中文显示乱码
原文:https://www.cnblogs.com/ly123456/p/12989804.html