IOSOR Learn
Encoding Fallback Cost Breakpoint Before Send
Pinpoint the exact segment count where GSM-7 to UCS-2 fallback doubles per-message cost so you can compare provider encoding handling and trigger a partner route comparison.
Lead Telecom & Routing Architect · Lausanne, CH
The GSM-7 to UCS-2 fallback doubles per-message cost at 160 characters for single segments and 153 characters per segment for multi-part messages because UCS-2 uses 70 characters per segment versus 153 for GSM-7. Operators must calculate this breakpoint before send to avoid unexpected spend and compare how providers handle encoding transitions.
Character Set Thresholds
GSM-7 supports 160 characters in a single segment and 153 per segment when concatenated. UCS-2 drops to 70 and 67 respectively. Any character outside the GSM-7 basic set — emojis, Cyrillic, accented Latin — forces the entire payload into UCS-2. This means a 161-character GSM-7 message becomes two UCS-2 segments at 70 characters each, instantly doubling the segment count and cost.
Segment Math Verification
Validate segment counts using the formula: ceiling(character_count / segment_limit). For GSM-7 multi-part the limit is 153; for UCS-2 it is 67. A 320-character GSM-7 message uses 3 segments (320/153=2.09→3). The same payload in UCS-2 uses 5 segments (320/67=4.78→5). Providers that auto-detect encoding per segment versus per message produce different bills — test with DLR receipts to confirm actual segment counts charged.
Provider Encoding Handling Differences
Some gateways split encoding per segment; others enforce a single encoding for the entire concatenated message. Send test payloads with a single non-GSM character at position 154 and measure segment counts via webhook DLR callbacks. Providers returning 2 segments for a 154-char payload with one UCS-2 char are splitting per segment. Those returning 3 segments enforce message-level fallback. Document each partner behavior in your routing table.
Cost Impact Modeling
Model cost per corridor: (segments × partner_rate) + MRC. At $0.0075 per segment, a 320-char GSM-7 message costs $0.0225 (3 segs). Forced UCS-2 raises it to $0.0375 (5 segs) — a 67% increase. Multiply by monthly volume to quantify exposure. Include webhook latency variance in the model; delayed DLRs can mask encoding mismatches until invoices arrive.
Pre-Send Gate Checklist
Implement a pre-send gate that: (1) scans payload for non-GSM-7 characters, (2) calculates segment count under both encodings, (3) flags messages where UCS-2 segments exceed GSM-7 segments by ≥1, (4) routes flagged messages to a review queue or auto-truncates to GSM-7 safe length. Log every gate decision with payload hash, segment projection, and chosen route for audit.
Start with IOSOR
Compare verified partner routes for your channel and corridor using the route comparison tool. Cross-reference encoding behavior, segment billing, and DLR fidelity before committing volume. See also: Encoding Limit Gate Before Send, Encoding Overhead Cost Gate, GSM-7 Extension Table Cost Compliance Boundary Check.
IOSOR takeaway
GSM-7 supports 160 characters in a single segment and 153 per segment when concatenated. Log every gate decision with payload hash, segment projection, and chosen route for audit (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Route Quota and Entitlement Alignment Gate for Channel Fit
Verify contracted throughput, sender entitlements, and route permissions against the planned channel mix before volume ramps, and trigger partner comparison when evidence conflicts.
- Sender ID Alignment and Route Eligibility Gate Before Volume Ramp
Verify sender ID registration, alpha/numeric support, and carrier whitelist status per route before scaling SMS volume. Gate eligibility first, then compare routes.
- Route Eligibility Proof Before Volume Ramp: A Channel-Fit Gate
Prove each messaging, voice, SIP, number, email, or verify route is eligible for your target corridors and use case before committing volume, then compare verified partners.












