VS modifies the code encoding format to UTF-8

Use the "Advanced Save Options" of VS Since this option is hidden by default in VS, it needs to be called out manually. The specific operation method is as follows:
1. Click "Tools" ➡ "Customize", and the "Customize" dialog box will pop up.
2. Click the "Command" tab ➡ to enter the "Command" tab.
3. "Menu Bar" drop-down list ➡ select the "File" option.
4. Click "Add Command" ➡ The "Add Command" dialog box will pop up.
5. In the "Category" list, select the "File" option; in the "Command" list, select the "Advanced Save Options" option.
6. Click the "OK" button to close the "Add Command" dialog box.
7. Select the "Advanced Save Options" option in the "Controls" list, and click the "Move Up" or "Move Down" button to adjust the position of the command.
8. Click the "Close" button to complete the addition of the "Advanced Save Options" command

9. Then select the advanced save option, and the pop-up dialog box can choose to encode utf-
8

Guess you like

Origin blog.csdn.net/weixin_43705303/article/details/130223035