The api must return special characters as "ñ". But I'm facing right now that the Laravel facade response()->json() does not return this characters by default.
Laravel: Cant set JSON utf-8 charset
How can I without changing every line, can response json always with this encoding.
middlewares, providers, some global handler, overriding methods?
Maybe if the header Accept-Charset is set to 'utf-8'
I'm looking for the best solution
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire