When using VS code, I often encounter the phenomenon of Chinese garbled characters when opening files. In the past, I could solve it by modifying the encoding, but it was very troublesome. I couldn’t remember what to do. Search again,
I installed the latest VScode 1.38.1 today, and found a simple solution:
Select the menu [file] --> [Option]--> [ Settings】 --> 【Search settings】 "files.autoGuessEncoding" --> Just check it.
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of Solution to Chinese garbled characters when opening files with vscode. For more information, please follow other related articles on the PHP Chinese website!