In the development of VC ++,Source codeThe file is saved as gb2312 encoding by default.
If it is switched to an English environment, it will be opened using the "Western European" encoding, and the "Chinese Character comments" in the file will be garbled. This is of course not a problem. The key is whenCodeToo many Chinese characters, so that we do not notice any garbled characters in the file, and then enter new Chinese characters will be chaotic. Because, when saving, the editor will prompt you to use Unicode-related encoding for saving. If you choose to save it with a UTF-8, congratulations, the new Chinese and old Chinese in this file have been smoothly confused.
Recovery Solution: Create a TXT file, set to UTF-8 encoding, copy the old chaotic Chinese characters in the source code, and then save as "Western European" encoding, then, use gb2312 to open the TXT file and you will see the long-overdue comments.