Change encoding in Sublime Text

Change encoding in Sublime Text

How to change encoding in Sublime Text so that a file opens correctly with proper characters? Open the File menu -> Reopen with Encoding and select the encoding you wish to view the file in (usually UTF‑8). This will perform an encoding change and Sublime will reopen the file in the new encoding. The characters should then display correctly.

If characters in Sublime Text are displayed incorrectly, try opening the file with a different encoding. Most issues arise when opening files encoded in Windows‑1251 while using UTF‑8.