I have access to a database with a phone number, I want to send an Arabic sms to the phone number, I use this code to send:
Dim result As String
Dim myUrl As String
Dim winHttpReq As Object
Set winHttpReq = CreateObject("WinHttp.WinHttpRequest.5.1")
myUrl = "http://www.nsms.ps/api.php?comm=sendsms&user=user&pass=pass&to=number&message=مرحبا&sender=TrueMark"
winHttpReq.Open "GET", myUrl, False
winHttpReq.Send
result = winHttpReq.responseText
My code is working and I receive an sms to my phone, but I did not receive it in Arabic word order.
I receive it like this: ط§ظ„ط³ظ„ط§ظ… ط¹ظ„ظٹظƒظ…