The following tutorial column will introduce to you how to correctly display Chinese in sublime. I hope it will be helpful to friends in need!
How does sublime display Chinese correctly?
Install ConvertToUTF8
Environment: windows sublime3
ctrl shift p Open the command panel
Enter install in the command panel Press Enter to enter the installation panelEnter ConvertToUTF8 in the installation panel and press Enter to wait for the installation to complete. After completion, a file will be automatically opened
Then restart sublime and open the file in Chinese to display normally
After installing the ConvertToUTF8 plug-in, I found that the file was still garbled in Chinese when I opened it
Solution:
Select the menu
File >Save with Encoding >Western(Windows 1252)Restart After opening the file, it will be displayed normally.
For more technical articles related to sublime text, please visit the
sublime tutorial column!
The above is the detailed content of How to correctly display Chinese in sublime. For more information, please follow other related articles on the PHP Chinese website!