Home > Article > Development Tools > 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!