Skip to content

GSM7Bit SMPP codec should be able to fallback to UCS2. #838

@smn

Description

@smn

This comes out of #836.

Wikipedia says:

Note that on many GSM smartphones, there's no specific preselection of the UCS-2 encoding. 
The default is to use the 7-bit encoding above, until one enters a character that is not present 
in the GSM 7-bit table (for example the lowercase c with cedilla 'ç'). In that case, the whole 
message gets reencoded using the UCS-2 encoding, and the maximum length of the message 
sent in only 1 SMS is immediately reduced to 70 code units, instead of 160.

This results in some MNOs sending us UCS2 data without changing the data coding value that's been communicated as being GSM 7bit.

Without a fall back we then wouldn't be able to decode the message and respond with an ESME_RDELIVERYFAILURE or something similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions