EncodingĮncoding problem - everyone whose project is written in win1251 encoding encounters it. A description of each setting is attached - this is also convenient. That is, having configured Sublime Text once, you can save these settings to yourself and restore each time after installation on any computer - this is convenient. Through "Preferences - User" user settings can be viewed. The settings for everything and everyone in Sublime Text are stored in JSON format, the main settings can be called through the "Preferences - Default" menu. But in this barrel of honey there was a place for several grams of tar, but it can be pulled out of there without any problems. There are many reasons: cross-platform, plug-in support, incredibly well-thought-out multi-highlighting, nice appearance, and much more - for each his own. This is a bold statement, but it's hard to disagree with it: many people love this product. This is a text editor that you will fall in love with, as its creators say ( Sublime Text: The text editor you "ll fall in love with). If necessary, write in the comments, I will be glad to help. The issues related to encoding in the sublime text 3 editor are not as scary as they seem at first glance. Automatically converts to UTF-8 when opening a file using certain encodings in user settings.Converts to UTF-8 quickly from the current encoding via the menu.Converts from UTF-8 to a list of encodings that are on the menu.I personally did not use it as it is not necessary. We can also do similar actions through File -\u003e Reopen with Encoding.Īfter these steps, the problem should be corrected.Īnother option is to use the EncodingHelper plugin. The first option is to re-save the file via File -\u003e Save with Encoding from the list, select utf-8, after that you need to close and open the file. To change the encoding, you need to reopen the file or re-save. The encoding will be displayed in the status bar, if you cannot see it, enable it via View -\u003e Show Status Bar Go to Preferences -\u003e Settings and add a setting. The second option is to add "show_encoding": true in the user settings. The first way to find out the encoding is through the console, press Ctrl + `or View -\u003e Show Console and print the following command view.encoding () to the console. How can I find out the current encoding of a file? This can be easily solved in a couple of minutes. This is possible when the file was saved in the old windows-1251 encoding, which is no longer used for html, php, etc. This problem is most often expressed in hieroglyphs instead of symbols. Novice users and developers may have problems with encoding in sublime text 3. How to turn Sublime Text into the perfect text tool.