I would like to json in Korean. The language of my aap is English. The problem is that its replace Korean language to ?????
. My code snippet is:
<?php
$mysqli = new mysqli ( '50.62.209.85:3306', 'local', 'root123', 'android');
// Check if album id is posted as GET parameter
$myq = $mysqli ->query ( 'SELECT id, url, name FROM HollywoodMovies' );
while ( $myr = $myq->fetch_assoc () ) {
$array["items"][] = (array(
'id' => $myr['id'],
'id' => $myr['url'],
'title' => $myr['name'],
));
}
echo json_encode($array);
?>