(Solved) – send Arabic sms via API from access form vba


i have access database with phone number ,
i want to send Arabic sms to 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

    result = winHttpReq.responseText

code is working and i receive sms msg to my phone,but i did not receive it as Arabic alphabetical
i receive it like that ط§ظ„ط³ظ„ط§ظ… ط¹ظ„ظٹظƒظ…

Leave a Reply

Your email address will not be published. Required fields are marked *