Answer the question
In order to leave comments, you need to log in
How to make urldecode in ajax request?
I send a post request to the server with data in json format and Cyrillic turns into %25D0%25BF%25D1%2580
How to fix it?
$.ajax({
type: "POST",
url: '/saveObj/',
contentType: 'application/json; charset=utf-8',
data: JSON.stringify(arr),
success: function(data)
{
// location.reload(true);
}
});
Answer the question
In order to leave comments, you need to log in
Encoding problem. With so little information, it's hard to say anything more specific.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question