What to do if vscode utf-8 garbled characters

藏色散人
Release: 2019-11-19 09:15:46
Original
4978 people have browsed it

What to do if vscode utf-8 garbled characters

What to do if vscode utf-8 is garbled?

Exception reason: VSCODE opens files in UTF-8 encoding by default. If you encounter encodings such as GB18030, GBK, etc., garbled characters will be displayed.

The solution is as follows:

A once and for all solution:

Add: "files.autoGuessEncoding":true to the settings file to automatically identify the character encoding.

ps: a: This setting may require the latest version of VScode, because I am currently using the latest version, so the display will be normal immediately after modification.

The currently used version information is as follows:

What to do if vscode utf-8 garbled characters

b: Set the file opening location: File--.>Preferences-->Settings--> ;user settings.

The above is the detailed content of What to do if vscode utf-8 garbled characters. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!