how to display arabic text in php

i have a form send data from flash to php file to send it to email i have this code below it sent the data successfully but the arabic language appear unknown can u help me please :’(

<?php header("Content-Type:text/html;charset=utf-8;"); $to = "[email protected],[email protected]"; $name = iconv("UTF-16", "UTF-8",$_POST['reqName']); $mob = ($_POST['reqMob']); $tel = ($_POST['reqTel']); $email = ($_POST['reqEmail']); $country = ($_POST['reqCountry']); $city = ($_POST['reqCity']); $nameEstate = ($_POST['reqNameEstate']); $loc = ($_POST['reqLoc']); $schem = ($_POST['reqSchem']); $street = ($_POST['reqStreet']); $space = ($_POST['reqSpace']); $price = ($_POST['reqPrice']); $message = ($_POST['reqMsg']); $message .= "\n\n---------------------------\n"; $message .= "E-mail Sent From: " . $_POST['reqName'] . " <" . $_POST['reqEmail'] . ">\n"; $message .="sender mobile: ".$_POST['reqMob']."\n"; $message .="sender tel: ".$_POST['reqTel']."\n"; $message .="country: ".$_POST['reqCountry']."\n"; $message .="city: ".$_POST['reqCity']."\n"; $message .= "\n\n---------------------------\n"; $message .="real-estate name: ".$_POST['reqNameEstate']."\n"; $message .="location: ".$_POST['reqLoc']."\n"; $message .="scheme: ".$_POST['reqSchem']."\n"; $message .="street: ".$_POST['reqStreet']."\n"; $message .="space: ".$_POST['reqSpace']."\n"; $message .="price: ".$_POST['reqPrice']."\n"; $headers. = "From: " . $_POST['reqName'] . " <" . $_POST['reqEmail'] . ">\n"; echo iconv("windows-1256", "utf-8", $message); if(@mail($to, $subject, $message, $headers)) { echo "answer=ok"; } else { echo "answer=error"; } echo ''; ?>

I had tried every thing please what is the wrong :’(

Sponsor our Newsletter | Privacy Policy | Terms of Service