-
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Description
When sending a JsonResponse, you cannot set the JSON charset right now. There is a work around right now with
$this->sendResponse(new \Nette\Application\Responses\JsonResponse($data, 'application/json; charset=utf-8')); , but it ?should not? work.
There is a discussion of this behavior on Nette Framework Forum (in Czech).
I am willing to write a PR, of somebody decides the solution (you should not be able to set charset under any circumstances vs add ability to set charset transparently).
Metadata
Metadata
Assignees
Labels
No labels