I am using SMPP Receiver API to get the messages from specific MSISDN. I am getting the English text correctly. But the Dari and Pashto text is not in same format. It shows output like below :
/
'2(�
/'HFD/1
My Code is :
ob_start();
require_once "smpp.php";//SMPP protocol
//connect to the smpp server
$tx=new SMPP('IP',PORT);
//bind the receiver
$tx->system_type="NUll";
$tx->addr_npi=0;
$tx->bindReceiver("username","password");
do
{
//read incoming sms
if($sms=$tx->readSMS())
{
print_r($sms);
}
}while($sms);
And smpp.php is at :
http://121.100.50.58/apps/smpp/
How I can get the correct Dari and Pashto Language Message text?