playSMS Forum

[Solved] When sending SMS using the API, the characters are not converted correctly

(unoc_u34) #1

Dear forum users, the problem is as follows:
If the text of the IPA will contain Russian letters, for example, the word “привет_мир”, it is in the performance of the API, turn into ???_???

Is every Russian letter corrected to ?

https://smsd.uz/index.php?app=ws&u=ftp&h=d235a51b0182edsa3g4cafbe47d0125&op=pv&to=998935217698&msg=привет_мир

As a gateway, I use kannel and here is the kannel log at the time of sending SMS:

2019-04-12 01:19:02 Sent SMS [SMSC:gsm1] [SVC:foo] [ACT:ftp] [BINF:] [FID:76] [META:] [from:SMSd] [to:+998974337489] [flags:-1:0:-1:-1:27] [msg:47: ???_??? @ftp] [udh:0:]
2019-04-12 01:19:02 Receive DLR [SMSC:gsm1] [SVC:foo] [ACT:] [BINF:] [FID:76] [META:?orig_msg?dlr_mask=27&] [from:SMSd] [to:+998974337489] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]

Please help me.
Thank in advance.

Best Regards,
Jamshid Tursunov

0 Likes

(Anton Raharja) #2

Try add unicode=1

Anton

0 Likes

(unoc_u34) #3

It is help me, thank you Anton.
Topic is closed.

Regards, Jamshid Tursunov

0 Likes