affichage des caractere en arabe php? :    le probleme est l'affichage du langue arabe en php avec le francais et l'anglais ça marche bien mais en arabe il affiche seulement les ???
this is a code 
` <?php

    // connexion 
    $host="****";
    $user="****";
    $password="****";
    $dbname="****";
    $con=mysqli_connect($host,$user,$password,$dbname);
        $lang = trim($_GET['lang']);
        mysql_query("SET CHARACTER SET utf8");
    mysql_query("SET NAMES 'utf8'");
     
        $sql="SELECT title,image,rating,releaseYear,id,pays,language FROM user  WHERE  language='$lang' and pays='$rtt '   ORDER BY `user`.`id` DESC" ;   
    $result=mysqli_query($con,$sql);
    if($result)
    {
        while($row=mysqli_fetch_array($result))
        {            $flag[]=array('title'=>utf8_encode($row['title']),'image'=>$row['image'],'rating'=>utf8_encode($row['rating']),'releaseYear'=>$row['releaseYear'],'id'=>$row['id']);    
        }      
     	 print_r(json_encode($flag, JSON_UNESCAPED_UNICODE));     
    } 
    mysqli_close($con); 
    ?>`

   
this is a image [enter image description here][1]


  [1]: https://i.stack.imgur.com/EwyqQ.png