A
A
AlPaco2018-02-28 19:10:21
JavaScript
AlPaco, 2018-02-28 19:10:21

Ajax returns obscure encoding?

Hello. I send a request via Ajax, there I create an array in the PHP file and add a Russian word to it, I display this array in alert and I get such a mess.

5a96d433265f7553007123.png

In the PHP file, before returning, I wrap the array in json_encode.
What could be the problem?

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