When ajax requested to the controller, I get in reply in front of json set of 6 characters - "\uO" . When I make a request to another controller to the same code, there are no symbols in the response. Which way to look? The coding of both files with controllers is the same. But something must be different once one gives without signs, the other with answer signs.

enter image description here

  • and if you just use curl? will the difference be? - Mikhail Vaysman
  • and if not return json disappear? - webDev_
  • The problem was that in the constructor in one of the functions, somewhere there was a display of non-printable characters on the screen. Unfortunately, it is not possible to change those functions or somehow find out what it is. Removed the function call for XmlHttpRequest and now there is ok. - Moonvvell

0