devict / votelocal

A web app for receiving local voting information via SMS
15 stars 16 forks source link

Sanitize message content to stay GSM compliant #103

Closed sethetter closed 4 years ago

sethetter commented 4 years ago

There is a Twilio doc that mentions GSM encoded messages are restricted to a limited set of characters. Ensuring our messages are GSM encoded is ideal because it prevents message segmenting as mentioned in #51

We should implement some message content sanitation to convert certain characters where possible!

sethetter commented 4 years ago

There's a tool to see if a message will be GSM compliant or not!

https://twiliodeved.github.io/message-segment-calculator/