|
Download README.md from PacketExchange/sms-segment-counter: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/spaces/PacketExchange/sms-segment-counter/resolve/main/README.md
- Command line
-
hf download hf://spaces/PacketExchange/sms-segment-counter/README.md
-
curl -L -o README.md https://huggingface.co/spaces/PacketExchange/sms-segment-counter/resolve/main/README.md
1.32 kB
| title: SMS Segment Counter | |
| emoji: 💬 | |
| colorFrom: yellow | |
| colorTo: gray | |
| sdk: static | |
| pinned: false | |
| license: mit | |
| short_description: Count SMS segments and see which character forced Unicode | |
| # SMS Segment Counter | |
| Paste a message and see how many segments it will bill, whether it goes as GSM-7 or UCS-2, how much room is left, and exactly which character flipped it to Unicode, with a one click fix to plain equivalents. | |
| Counting follows GSM 03.38: 160 characters for a single GSM-7 message, 153 per segment after that, 70 and 67 for UCS-2, and the twelve extended characters that cost two. Astral characters such as most emoji cost two UTF-16 units. | |
| Everything runs in the browser. Nothing is sent anywhere. | |
| ## Why it exists | |
| Segments are what you pay for and what the handset has to reassemble. A single curly quote pasted from a document turns a 150 character message into three segments, and a one-time code that lands in segment two is a code the user does not see on the lock screen. | |
| Built by [PacketExchange](https://huggingface.co/PacketExchange). The [PacketExchange API](https://packetexchange.io/developers) sends SMS and one-time codes on wholesale routes, with [open source clients](https://github.com/PacketExchangeIO) for Node, Python and more. Questions are welcome at contact@packetexchange.io. | |