You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result I get from my api using routing tutorial that you provided, is :
{"post_title":"\u06a9\u0641\u0634 \u0645\u0631\u062f\u0627\u0646\u0647 \u0641\u0644\u0627\u0646","guid":"http://shop-win.test/product/import-placeholder-for-385/"....
however the post_title is escaped without me wanting it to do so.
I can fix it using :
Hi thanks again for this wonderful library I have a problem.I'd really appreciate if you help me out.
My problem is similar to this :
https://laracasts.com/discuss/channels/general-discussion/laravel-5-problem-with-utf-8-in-a-json-response
The result I get from my api using routing tutorial that you provided, is :
{"post_title":"\u06a9\u0641\u0634 \u0645\u0631\u062f\u0627\u0646\u0647 \u0641\u0644\u0627\u0646","guid":"http://shop-win.test/product/import-placeholder-for-385/"....
however the post_title is escaped without me wanting it to do so.
I can fix it using :
$response = $router->dispatch($request);
echo json_encode(json_decode($response->getContent(),true),JSON_UNESCAPED_UNICODE);
But it's not a very good idea I guess.
What is the alternative way?
The text was updated successfully, but these errors were encountered: