Have an issue with a project in php(laravel), when i bring info from a database(mysql) and it contains accents i.e é, á . Php ends up showing a weird question mark, or crashin 'charset' => 'utf8mb4' is set in the database.php CHARACTER SET=utf8mb4 is set on every table on the mysql database
the original project had 'charset' => 'latin1' and showed problems, changing to utf8mb4 solved the problem on OSX(the test local host) but the problem didnt fix when uploaded to the server(linux)
The data comes bad before even trying to show: $example= DB::connection('mysql_db')->select("SELECT * FROM test) Log::error($example); log shows the query gets me the question mark character
Found a similar issue in: scandir issue with accents in Linux work fine in OSX But i am not sure if the answer applies only to scan dir, or to any php-linux accent issue