It turns out that implementing a UI for this properly is a bit complex. This is the standard way that SMS works on all smartphones based on the characters in the message.
In short several things need to be observed and accounted for: Any character not in the GSM alphabet causes use of UCS-2 (certain escape chars, emojis) Any extension GSM character requires an extra character. Any such escape character must have both parts in the same message and can therefore leave 1 more unused char. Multi-part messages introduce header overhead in each message in both GSM (7 chars) and UCS-2 (3 chars) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to messaging-app in Ubuntu. https://bugs.launchpad.net/bugs/1617961 Title: Need to detect use of UCS-2 encoding and reflect in message count Status in Canonical System Image: Confirmed Status in messaging-app package in Ubuntu: Confirmed Bug description: current build number: 409 device name: arale channel: ubuntu-touch/rc-proposed/meizu.en A single SMS is charged several times while there is only 1 corresponding SMS in the messaging app. On the report attach, several messages are charged up to 5 times. It's very similar to bug 1537735 although no one ever told me they received my SMS more than once. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1617961/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp