Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hebrew sms display via traccar-sms-gateway #1

Open
shyy110 opened this issue Aug 5, 2020 · 1 comment
Open

Hebrew sms display via traccar-sms-gateway #1

shyy110 opened this issue Aug 5, 2020 · 1 comment

Comments

@shyy110
Copy link

shyy110 commented Aug 5, 2020

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 ?

@latiif
Copy link

latiif commented Nov 27, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants