Open shyy110 opened 4 years ago
I also had a similar issue with Arabic characters.
Make sure to specify the content type header for your request: Content-Type: application/json; charset=utf-8
.
Example with curl
:
curl --header "Content-Type: application/json; charset=utf-8" \
--header "Authorization: <YOUR API KEY>" \
--data '{"to":"<YOUR PHONE NUMBER>","message":"سلام"}' \
http://<GATEWAY IP ADDRESS>:8082
Hello , when using the sms-gateway to send sms notification from traccar in Hebrew the we getting unreadable characters
like this Dev3_× ×ס×××
same massage in telegram we received fine Dev3_ניסיון
when we use other sms GW (ozeki SMS) we getting the correct contect
can you please advice ?