Home  >  Article  >  Development Tools  >  How to deal with Chinese garbled characters in vscode output box

How to deal with Chinese garbled characters in vscode output box

王林
王林Original
2020-01-09 10:51:362427browse

How to deal with Chinese garbled characters in vscode output box

Right-click on My Computer, click Properties, Advanced System Settings

How to deal with Chinese garbled characters in vscode output box

Click on Environment Variables

How to deal with Chinese garbled characters in vscode output box

Click New

How to deal with Chinese garbled characters in vscode output box

##Variable name

PYTHONIOENCODING, set the value to UTF8

How to deal with Chinese garbled characters in vscode output box

Restart vscode, the result is as shown in the figure:

How to deal with Chinese garbled characters in vscode output box

Recommended related articles and tutorials:

vscode tutorial

The above is the detailed content of How to deal with Chinese garbled characters in vscode output box. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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