Preferences->Settings"; then search for ""files.autoGuessEncoding": false," and change it to "true" ."/> Preferences->Settings"; then search for ""files.autoGuessEncoding": false," and change it to "true" .">
Home > Article > Development Tools > What to do if html Chinese garbled code in vscode
#What should I do if the Chinese html in vscode is garbled? VSCode Chinese garbled solution
File>> Preferences>> Settings
Search:
"files.autoGuessEncoding": false,
Change to:
"files.autoGuessEncoding": true,
Recommended tutorial: vscode tutorial
visual studio code related introduction:
Microsoft officially announced at the Build Developer Conference on April 30, 2015 Announcing the Visual Studio Code project: a cross-platform source code editor for writing modern web and cloud applications running on Mac OS X, Windows and Linux.
The editor also integrates all the features that a modern editor should have, including syntax high lighting, customizable keyboard bindings, bracket matching ( bracket matching) and code snippet collection (snippets). Somasegar also told me that the editor also has out-of-the-box support for Git.
Visual Studio Code provides a wealth of shortcut keys. Users can use the shortcut keys [Ctrl] [K] [S] (hold down the Ctrl key and then press the K and S keys) to bring up the shortcut key panel and view all shortcut key definitions. You can also double-click any shortcut key in the panel to assign a new shortcut key to a certain function. Some predefined common shortcut keys include: Format document (organize all the code in the current view), [Shift] [Alt] [F]; Format selected content (organize the selected part of the code in the current view), [ Ctrl] [K] [F]; Zoom in, [Ctrl] [Shift] [=]; Zoom out, [Ctrl] [Shift] [-]; Open a new external terminal (open a new command line prompt): [Ctrl][Shift][C].
The above is the detailed content of What to do if html Chinese garbled code in vscode. For more information, please follow other related articles on the PHP Chinese website!