I have an issue after deploying my laravel website ( that works properly in local ). Some text are not encoded correctly, for example : what should be Joël is Joël
Some information :
Not all views are affected, some variables are rendered properly in a view and broken on another view ( which make me think it's not a mysql issue )
My json response are not working anymore ( Malformed UTF-8 characters, possibly incorrectly encoded ) , which make my think it must be a mysql problem ... )
I already tried to put this in my AppServiceProvider
\Blade::setEchoFormat('e(utf8_encode(%s))');
My strftime were also not working but it can be resolved with utf8_encode function of php, which is not working with my other variables. For example if $c->name gives Joël , utf8_encode($c->name) also gives Joël
In config/database.php, charset is set to utf8mb4 and collaction is set to utf8mb4_unicode_ci
Would you have any idea to solve my problem ?