jquery ajax encoding problem!
Posted
by teMkaa
on Stack Overflow
See other posts from Stack Overflow
or by teMkaa
Published on 2010-04-15T17:15:07Z
Indexed on
2010/04/15
17:23 UTC
Read the original article
Hit count: 330
jQuery
|JavaScript
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!
© Stack Overflow or respective owner