79832385

Date: 2025-11-28 08:43:56
Score: 0.5
Natty:
Report link

I just had the same problem on an old project.

Here is what work for me:

$response = new \Symfony\Component\HttpFoundation\JsonResponse();
$response->setEncodingOptions(JSON_UNESCAPED_UNICODE);
$response->setData($ret);
return $response;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Samuel C.