- Open VS Code.
- Click on File.
- Then find Preferences -> settings.
- Click on the Text Editor in the left side menu.
- Then Click on Files.
- Locate the Encoding (The default character set encoding to use when reading and writing files. This setting can also be configured per language.) Setting and change it.