Why Sublime Text 3 may not display the UTF-8 encoding?

0 like 0 dislike
139 views
In fact, all told.

+ UTF-8 bom is displayed properly, but I need it without BOM because the bom interferes with stable to run php scripts.

PS Notepad++ to UTF-8 normally displays back the utf-8 bom, it can not.
by | 139 views

2 Answers

0 like 0 dislike
SOLVED!
setlocale(LC_ALL, 'ru_RU.utf8');
Header("Content-Type: text/html;charset=UTF-8");
That it was necessary to substitute in the PHP code to solve problem with wrong encodings. Now UTF-8 without BOM displays normally.

P. S. thank you to all who responded!
by
0 like 0 dislike
Maybe because it's not УТФ8, and for example УТФ16?
And looks like that it cannot display?
And how do the files get?
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
110,608 questions
257,187 answers
0 comments
40,796 users