V
V
vovaaar2019-11-06 10:31:35
PHP
vovaaar, 2019-11-06 10:31:35

Why sometimes Cyrillic is saved to the mysql database and sometimes \u58fgrf \4urj using ajax?

It seems there are constants:
utf-8
JSON.parse, JSON.stringify, json_encode, json_decode
But anyway, sometimes it saves Cyrillic. If, for example, I change the data on the front and re-save the data with Cyrillic, it again becomes \u58fgrf \4urj. How to bring to a single standard and what is it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question