Answer the question
In order to leave comments, you need to log in
Why might Sublime Text 3 not display UTF-8 encoding?
Actually, he said everything.
+ UTF-8 encoding bom is normally displayed, but I need it without BOM because bom prevents php scripts from working stably.
PS Notepad++ UTF-8 normally displays, back, utf-8 bom it can't.
Answer the question
In order to leave comments, you need to log in
RESOLVED!
setlocale(LC_ALL, 'ru_RU.utf8');
Header("Content-Type: text/html;charset=UTF-8");
That's what had to be substituted into the PHP code in order to solve the problem with a broken encoding. Now UTF-8 without BOM displays normally.
PS Anyway, thanks to everyone who replied!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question