Answer the question
In order to leave comments, you need to log in
The problem with json_encode outputs Latin, Russian characters are not?! How to be?
Guys, I've been sitting for several hours, breaking my head, I don't know what to do!
The essence of the problem is this - I make a request to the database, the answer is returned to me is there an email in the database or not.
I give this whole thing with the help of json_encode in JS, in order to write beautifully to the user - alas, dude, email is already registered like that.
Actually, this json_encode looks like this
echo json_encode(
array('st_email' => 0,
'email' => 'Данный email уже зарегистрирован в системе!'
), JSON_UNESCAPED_UNICODE
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question