I am working on an Android app that sends data to a remote server. The app sends and receives the data in the correct way. Example: sends "Juárez" and receives "Juárez", but the data are stored in the database as "Juárez",
That should be no problem so far, the issue is that the same data should be shown at a web site, and there it is shown as "Juárez".
I have tried several options including
$con->set_charset("utf8");
SET NAMES utf8;
just after the MySQL connection,
I have tried also this:
$ad1 = utf8_encode ($_POST['ad1']);
But I am getting the same strange String in the database.
Any help is welcome