Home > Development Tools > VSCode > body text

What to do when opening txt with garbled characters in vscode

藏色散人
Release: 2019-11-19 09:36:01
Original
5715 people have browsed it

What to do when opening txt with garbled characters in vscode

What should I do if I open txt with garbled characters in vscode?

Question:

As shown in the figure, use vscode to open a txt file containing Chinese characters. The Chinese garbled characters are already utf-8

What to do when opening txt with garbled characters in vscode

Solution:

Generally speaking, it is an encoding problem. Click "utf-8" below, select "Reopen with encoding", select "GBK" and other common encodings in Windows to try.

Related recommendations: "vscode tutorial"

The above is the detailed content of What to do when opening txt with garbled characters 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!