The following tutorial column ofsublimewill introduce to you the method of setting the sublime text3 encoding format to utf-8. I hope it will be helpful to friends in need!
Recently switched to sublime editor, I downloaded a Chinese version .
The Chinese displayed when writing code in sublime today is normal (it is no problem to open it in the sublime editor,
It is estimated that the installation package was added before: Ctrl Shift P → Package Control: Install Package →ConvertToUTF8),
But when I open Chinese in the browser, garbled characters appear.
The following is my solution:
Enter "default_encoding": "UTF-8" in the opened file, enter
When I got here it still didn’t work
Then I reloaded it and it was done (picture below)
Try Just a few more times...
The above is the detailed content of How to set sublime text3 encoding format to utf-8. For more information, please follow other related articles on the PHP Chinese website!