October CMS replaces the code in symbols, how to fix?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
44 views
In file frillice is displayed normally. If you look through the view-code in the browser, the whole Cyrillic look of SL. follows:
5ae7824d9a475458847439.png

How to fix?
by | 44 views

1 Answer

0 like 0 dislike
When generate json use flag JSON_UNESCAPED_UNICODE

json_encode($text, JSON_UNESCAPED_UNICODE);
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,431 users