How to read Unicode text file in PHP.
i have used HTML tag <meta http-equiv="content-type" content="text/html; charset=utf-8">.
i have some content in 15.txt like.
جوڈیشنل کمیشن کا کاروائی کھلی عدالت میں جاری رکھنے کا فیصلہ ; پانچ مئی کو شہادتوں پر جرح کا آغاز کیا جائیگا
but this code print this type (ÿþEÌ1' F'E 9E1'F ÁÒ)
i want to print Urdu contents, plase tell me where i am wrong
$row = 1;
$myFile = 15.txt; // Unicode Formate.
if (($handle = fopen($myFile, "r")) !== FALSE){
while (($data = fgetcsv($handle, 1000, ";")) !== FALSE) {
$num = count($data);
$row++;
$row1 = $data[0];
$row2 = $data[1];
echo '<h1>'.$row1.'</h1>';
}
fclose($handle);
} else {
echo "Error deleting record: " . $conn->error;
}
when i show