Well, I put a website on a server, the database data is in UTF8, I have already checked the server information with:
show variables like '%char%';
And it returns:
character_set_client utf8mb4 character_set_connection utf8mb4 character_set_database utf8 character_set_filesystem binary character_set_results utf8mb4 character_set_server latin1 character_set_system utf8 character_sets_dir /usr/share/percona-server/charsets/
In the database they are in UTF8, and on my HTML page I have already inserted UTF8 for the return. A note I get the data with PHP. So the problem is that it doesn't return in UTF8.