F
F
Faceless2017-04-04 12:31:34
Character encoding
Faceless, 2017-04-04 12:31:34

How to solve sublime text 3 encoding problem?

Guys, please help me solve the problem with sublime text 3 encoding. The bottom line is this. I write in the program itself, save it in html, js. In the program window, Russian characters are displayed correctly, but in the browser when viewing "krakozyabry".
This is how it looks in the program "alert('Test'); And this is how "alert('Тест');" in the browser.
In the settings
{
"fallback_encoding": "Cyrillic (Windows 1251)",
"font_size": 10,
}
Reopening in utf-8 encoding does not help.If you open it in Cyrillic encoding (Windows 1251), then the program itself becomes "crazy"
.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-04-17
@Psy_Duck

Have you tried putting the encoding meta tag in the html file?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question