In short, datacoding contains information on how the text in smpp SendSM message (i.e. a typical SMS message) is encoded. The SubmitSM package contains a binary encoded object, and dataCoding is a way to store text in this body.
The most important values are:
- 00000000 (0) - usually GSM7 (standard 7-bit encoding for messages with multiple characters that are encoded as two bytes), but technically there may be something else.
- 00000011 (3) ISO-8859-1
- 00001000 (8) - de facto UTF-16
( ):
- 00000001 - IA5_CCITT_T_50_ASCII_ANSI_X3_4
- 00000010 - OCTET_UNSPECIFIED_8BIT_BINARY_1
- 00000100 - OCTET_UNSPECIFIED_8BIT_BINARY_2
- 00000101 - JIS_X_02081990
- 00000110 - CYRLLIC_ISO88595
- 00000111 - LATIN_HEBREW_ISO88598
- 00001001 - PICTOGRAM_ENCODING
- 00001010 - ISO2022JP_MUSIC_CODES
- 00001101 - EXTENDED_KANJI_JISX_02121990
- 00001110 - KS_C_5601
:
- 00001011 - RESERVED # 1
- 00001100 - RESERVED # 2
, (UTF-16), dataCoding 8. GSM7, () 0.