What is the meaning of "data_coding" field in the SMPP protocol?
I searched for this but couldn't find any helpful resource.
In short, datacoding contains the information on how the text in an smpp SubmitSM (i.e. a typical SMS message) message is encoded. The SubmitSM packet contains a binary encoded body, and the dataCoding is how the text is stored in this body.
The most important values are:
Other possible values (rarely used):
And two reserved for special uses:
In short, if your binary body is unicode (UTF-16) you will set dataCoding to 8. If your message is stored as GSM7 then it will (usually) be 0.