Ajax Russian letters?

Hello. Podskajite please how to solve the problem with Russian letters? When the form is submitted I here is
5df0def5e1450279138806.png

request here
$(function() {
 $('#catalog-search').submit(function(e) {
 var $form = $(this);
console.log($form.serialize())
$.ajax({
 type: $form.attr('method'),
 url: $form.attr('action'),
 data: $form.serialize() 
 }).done(function(response) {
 console.log('Request sent');
 }).fail(function(error) {
console.error(error);
});

 e.preventDefault(); 
});
 });
April 3rd 20 at 17:29
1 answer
April 3rd 20 at 17:31
Solution
The problem is not there, everything works as it should. Russian letters are encoded according to the standard, vyod encoded message in the console, but the server needs to decode.

Find more questions by tags JavaScriptjQuery