Home >Development Tools >VSCode >How to solve the problem that files dragged into vscode display garbled characters
Sometimes when we open a file with vscode, garbled characters are displayed. Although it can be reopened by changing the encoding format, the process is a bit cumbersome, and we must know the encoding format of the file in advance.
If you add "files.autoGuessEncoding": true, in the configuration file of vscode, you can let vscode guess the encoding format of the file we open and open it normally.
Recommended learning: vscode tutorial
The above is the detailed content of How to solve the problem that files dragged into vscode display garbled characters. For more information, please follow other related articles on the PHP Chinese website!