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;