Home  >  Article  >  Development Tools  >  How to set sublime text3 encoding format to utf-8

How to set sublime text3 encoding format to utf-8

藏色散人
藏色散人forward
2020-12-17 16:28:0111191browse

The following tutorial column of sublime will 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!

How to set sublime text3 encoding format to utf-8

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:

How to set sublime text3 encoding format to utf-8

Enter "default_encoding": "UTF-8" in the opened file, enter
How to set sublime text3 encoding format to utf-8

How to set sublime text3 encoding format to utf-8
When I got here it still didn’t work

Then I reloaded it and it was done (picture below)
How to set sublime text3 encoding format to utf-8

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!

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