按住ctrl+p鍵,在查找選項(xiàng)框中輸入下列的命令
ext install gbktoutf8
點(diǎn)擊上圖中的press Enter to search for"gbktoutf8" in the marketplace,則有下圖,點(diǎn)擊install安裝即可
打開代碼,查看中文注釋,可發(fā)現(xiàn)亂碼消失,中文注釋正常顯示。
相關(guān)文章教程推薦:vscode教程
按住ctrl+p鍵,在查找選項(xiàng)框中輸入下列的命令
ext install gbktoutf8
點(diǎn)擊上圖中的press Enter to search for"gbktoutf8" in the marketplace,則有下圖,點(diǎn)擊install安裝即可
打開代碼,查看中文注釋,可發(fā)現(xiàn)亂碼消失,中文注釋正常顯示。
相關(guān)文章教程推薦:vscode教程