I have created a mysql database conected to an android app through php, this is my configuration file:
<?php
$username="aaaaa";
$password="bbbbb!";
$host="localhost";
$database="dbname";
$mysqli = new mysqli("localhost", $username, $password, $database);
$mysqli->set_charset("utf8mb4");
$con = mysqli_connect($host,$username,$password, $database) or die(mysqli_error($con));
?>
What is the addition or modification to support the Arabic language, as the Arabic writing appears as question marks. Note: The encoding of the database, tables and fields is utf8_general_ci.