Home > Development Tools > VSCode > Garbled characters appear when running js files in vscode

Garbled characters appear when running js files in vscode

王林
Release: 2020-02-12 14:34:07
Original
13015 people have browsed it

Garbled characters appear when running js files in vscode

The error is as shown in the picture:

Garbled characters appear when running js files in vscode

Solution:

If the Chinese characters are garbled, you can go to the settings Check the "Auto Guess Encoding" item, as shown in the figure:

Garbled characters appear when running js files in vscode

(If this is not the case, it may be because Node.js is not installed and the Node.js environment is not configured. )

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of Garbled characters appear when running js files in 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