Click on File->Preferences->Settings
(Learning video recommendation: java video tutorial)
Search for encoding on the settings page and change the file encoding to utf-8.
Recommended tutorial: vscode tutorial
The above is the detailed content of How to change the default file encoding of the current workspace in vscode. For more information, please follow other related articles on the PHP Chinese website!