Home  >  Article  >  Development Tools  >  Solution to garbled files opened by vscode

Solution to garbled files opened by vscode

尚
Original
2020-03-16 16:38:317069browse

Solution to garbled files opened by vscode

Our vscode open files are utf-8 encoded by default. When we open other encoding files (such as gb2312), garbled characters will occur.

Solution to garbled files opened by vscode

##Solution:

Click File->Preferences->Settings in the vsCode menu bar, and then enter user settings on the right:

"files.autoGuessEncoding": true,

Recommended learning:

vscode tutorial

The above is the detailed content of Solution to garbled files opened by vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn