jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.02k stars 549 forks source link

Receiving SMS - Unicode #1014

Closed geethupendra closed 2 years ago

geethupendra commented 2 years ago

Hello,

Anyone using https://docs.jasminsms.com/en/latest/programming-examples/index.html#receiving-sms for data save as Unicode message in DB. I have tried (Sinhala Unicode - https://it.wikipedia.org/wiki/Sinhala_(Unicode)) but it's blank.

Message receiving like...

Eg: \r\x85 --> අ \r\x87 --> ඇ

anyone can support it?

Thanks Geeth

farirat commented 2 years ago

You can receive the message content in hex format using the hex-content parameter: https://docs.jasminsms.com/en/latest/apis/ja-http/index.html

geethupendra commented 2 years ago

Thanks