Home  >  Article  >  Development Tools  >  What to do if vscode python file comments are garbled

What to do if vscode python file comments are garbled

藏色散人
藏色散人Original
2019-12-23 09:14:473686browse

What to do if vscode python file comments are garbled

What should I do if the comments in the vscode python file are garbled?

VS Code Chinese comments display garbled characters. Solution

Change the value of the "files.autoGuessEncoding" item in the settings to true.

1.File

2.Preferences

3.Settings

4.Search

"files.autoGuessEncoding": flase

changed to

"files.autoGuessEncoding": true

Related recommendations: vscode introductory tutorial

The above is the detailed content of What to do if vscode python file comments are garbled. 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