K
K
karasique2018-04-30 23:54:29
Unicode
karasique, 2018-04-30 23:54:29

October CMS replaces code with symbols, how to fix it?

In the files, Uirillic is displayed normally. If you look through the view-code in the browser, then the whole Cyrillic look like. way:
5ae7824d9a475458847439.png
How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Barsukov, 2018-05-03
@slavabars

When generating json then use JSON_UNESCAPED_UNICODE flag
json_encode($text, JSON_UNESCAPED_UNICODE);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question