Mautic Community Forums

SMS encoding warning / encoding cleaning

My idea is: SMS encoding warning / encoding cleaning

Where we enter in an SMS text, allow a notification or cleaning to optimise the typed text where there are non-GSM characters present.

I think these groups of people would benefit from this idea:
The cost calculation where a sms includes at least 1 non-GSM character doubles the cost of an sms, with a sms segment changed from 160 to 70 characters per cost segment

Why I think they would benefit from this idea:
SMS are expensive, and when you type a 160 character sms with 1 character the cost of the SMS triples (160/70 = 2.3. rounded up to 3 cost segments)

Any code or resources to support this idea:
https://twiliodeved.github.io/message-segment-calculator/