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

Solution to garbled files opened by vscode

Release: 2020-03-16 16:38:31
Original
7186 people have browsed it

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,
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template