How properly use utf8_decode at Laravel controller json response?

Solution:

Behind the scenes, Laravel is using json_encode.Try using the JSON_UNESCAPED_UNICODE-option:

response()->json($data, 200, [], JSON_UNESCAPED_UNICODE);

JSON_UNESCAPED_UNICODE

Encode multibyte Unicode characters literally (default is to escape as \uXXXX). Available since PHP 5.4.0.

See http://php.net/manual/en/json.constants.php .