按住ctrl+p键,在查找选项框中输入下列的命令
ext install gbktoutf8
点击上图中的press Enter to search for"gbktoutf8" in the marketplace,则有下图,点击install安装即可
打开代码,查看中文注释,可发现乱码消失,中文注释正常显示。
上一篇:linux系统中workerman的安装方法
下一篇:vscode中文乱码怎么办