Home > Development Tools > VSCode > body text

Chinese garbled characters in vscode terminal

王林
Release: 2019-11-09 14:07:01
Original
6068 people have browsed it

Chinese garbled characters in vscode terminal

Solution:

1. Run the command

chcp
Copy after login

to view the encoding settings of cmd. The code page number of GBK2312 is 936.

2. Since the code page number corresponding to utf-8 is 65001, you can set the cmd encoding to uft-8 by executing the command

chcp 65001
Copy after login

.

Recommended tutorial: vscode tutorial

The above is the detailed content of Chinese garbled characters in vscode terminal. 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!