How to convert Unicode Indian language (Malayalam) to Image using PHP
<p>Here is my php code for creating an image with text inside,
I used Malayalam language text but PHP generating an image like this "?????" </p>

<pre><code>&lt;?php mb_language('uni'); 
mb_internal_encoding('UTF-8'); 
header('Content-type: image/gif');
$text = 'മലയാളം  ';
$font = 'mlkarthika.ttf';
$im = imagecreatetruecolor(160, 160);
$white = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 159, 159, $white);
imagettftext($im, 12, 0, 20, 20, $black, $font, $text);
imagegif($im);
imagedestroy($im);
?&gt;
</code></pre>

<p>the font ML_ttkarthika is avalable in unicode font website, please help me</p>
