How to install GBK in Sublime
Let’s get straight to the point:
To install GBK in Sublime, you need to install a snippet.
Detailed steps:
-
Open Sublime Text: Start the Sublime Text text editor.
-
Open the "Preferences" menu: In the top menu bar, click "Preferences" > "Package Control".
-
Install Package Control: If you have not installed Package Control, click "Install Package Control".
-
Find the GBK code snippet: In the "Package Control: Enter the package you want to install" text box, enter "GBK".
-
Install the GBK snippet: Select the "GBK" snippet from the search results and click "Install".
-
Restart Sublime Text: After the installation is complete, restart Sublime Text for the changes to take effect.
Using GBK snippets:
After installing snippets, you can use the following steps to use GBK encoding in Sublime Text:
-
Open the file you want to edit: Open the file you want to edit using GBK encoding.
-
Select the View menu: In the top menu bar, click View > Coding.
-
Select "GBK": From the encoding list, select "GBK".
-
Save the file: After editing the file, save the file using "GBK" encoding.
Your file will now be saved using GBK encoding.
The above is the detailed content of How to install gbk in sublime. For more information, please follow other related articles on the PHP Chinese website!