Solve the problem of Chinese garbled characters in the Sublime Text4 editor (2022.09)

Today’s newly installed Sublime editor, the new text input Chinese can be displayed normally, but when opening a previous txt, there are Chinese garbled characters. After checking, many of them are the old processing methods of 18 and 19 years, so I updated a new version. .

You can see that except for English and numbers, they are all garbled characters.

==================================start===========================================

 First make sure you have Package Control installed

The installation method of the new version is as follows, you don’t need to enter instructions in the console to install, open Sublime, and press the shortcut key  Ctrl+Shift+P to call out the search bar, as follows:

 Enter Install , select Install: Package Control in the search bar , and click it. Don’t worry if there is no feedback after clicking. A pop-up window will appear after a few seconds, indicating that the installation is successful, as follows:

After the installation is successful, proceed to the next step 

================================================================================

If you have already installed Package Control, you can go directly to this step :

Use the shortcut key Ctrl+Shift+P again , call out the search bar, enter install, and select Package Control: Install Package

 After selection, the Loading repository will be displayed in the lower left corner, wait patiently for loading, and the package directory will pop up, as follows:

 Type convert in the search bar, several plug-ins will appear, select ConvertToUTF8 , click to install

 After the double-click installation is complete, a Package Control Message will pop up, indicating that the installation is successful, as follows:

 At this point, close Sublime and reopen it, you can see that the Chinese garbled characters have been resolved and can be displayed normally

=============================end================================================

Guess you like

Origin blog.csdn.net/weixin_45206129/article/details/126308506