jquery ajax encoding problem!
- by teMkaa
hi, i send ajax requests with jquery, and i have a function:
$('input').ajaxSuccess(function(e, xhr, settings) {
console.log(xhr.responseText);
});
Ajax response ara russian letters in utf-8, all server (apache, php) and files are in utf-8 but response text is something like this:
\u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0430\u043b\u043e \u0431\u0443\u043a\u0432!
how could i decode this characters to normal words? Thanks for help!