Home >Development Tools >sublime >How to display Chinese correctly in sublime

How to display Chinese correctly in sublime

藏色散人
藏色散人forward
2019-11-04 11:47:275255browse

The following is a tutorial column by sublime to introduce to you how to correctly display Chinese in sublime. I hope it will be helpful to friends in need!

How to display Chinese correctly in sublime

Install ConvertToUTF8

Environment: windows sublime3

● ctrl shift p to open the command panel

● In the command panel Enter install and press Enter to enter the installation panel

● Enter ConvertToUTF8 in the installation panel and press Enter to wait for the installation to be completed. After completion, a file will be automatically opened

● Then restart sublime to open the file in Chinese and it will display normally

After installing the ConvertToUTF8 plug-in, I opened the file and found that the Chinese characters were still garbled

Solution:

Select the menu File >Save with Encoding >Western( Windows 1252) Re-open the file and it will display normally

The above is the detailed content of How to display Chinese correctly in sublime. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete