IOSOR Learn
Unicode Fallback Routing: GSM-7 to UCS-2 Encoding Decisions Compared
Compare GSM-7 vs UCS-2 fallback policies across partner routes: segment math, DLR payload integrity, billing floors, and how to verify cost-per-delivered at scale.
Lead Telecom & Routing Architect · Lausanne, CH
A single emoji or an accent outside the GSM-7 table flips a message from 160-character segments to 70-character UCS-2 segments, and any route policy that hides that flip makes cost-per-delivered unverifiable. This spine compares fallback decisions and the segment-pricing behaviour you should demand before accepting a partner route.
Why the encoding flip changes the commercial outcome
GSM-7 packs 160 septet characters into one segment; UCS-2 holds 70. A 161-character plain message bills as two GSM-7 segments, but the same text with one emoji bills as three UCS-2 segments — a 50% jump with no change in content. Routes that silently downgrade to UCS-2 without signalling it break your forecast model and your dispute file.
Fallback policies: strict, transliterate, or reject
Four policies circulate. Strict GSM-7 rejects non-GSM characters at submit time and forces the sender to sanitise. Transliteration maps é to e, emoji to shortcodes, and Cyrillic to Latin — cheap but destroys intent and can silently alter OTP content. Dual-encoding sends GSM-7 where possible and accepts UCS-2 when needed, which is the most transparent default.
Segment math and concatenation tell you the real price
UCS-2 concatenation eats 6 characters of each segment for the user-data header (UDH), so a 70-character UCS-2 segment carries 67 usable characters when part of a multipart message. Mixed scripts — Devanagari with Latin digits, Arabic with punctuation — push segment counts higher than the character count suggests.
DLR receipts, webhook latency, and encoding metadata
The encoding flag should survive every hop. Check that the DLR webhook payload carries the encoding, segment count, and the message reference used at submission, and that the segments-billed field matches your own arithmetic.
Sender and template gates before you compare partner routes
Before any rate comparison, lock the gates: sender ID must be registered for the corridor and the encoding profile declared in the template registry, OTP templates must be pinned to a single policy to prevent silent transliteration, and STOP handling must be verified as encoding-independent.
Start with IOSOR
Use this checklist to make the encoding decision auditable. One: list every sender ID and template, and flag which languages and emoji sets they must carry. Two: for each candidate partner route, request the declared fallback policy and confirm it is configurable per sender. Three: send the three-message probe (ASCII, emoji, Cyrillic) and record detected encoding, segment count, and billed segments per receipt.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
GSM-7 packs 160 septet characters into one segment; UCS-2 holds 70. Before any rate comparison, lock the gates: sender ID must be registered for the corridor and the encoding profile declared in the template registry, OTP templates must be pinned to a single policy to prevent silent transliteration, and STOP handling must be verified as encoding-independent (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Partner Failover Cutover Verification Before Billing Lock-In
Verify DLR receipts, webhook latency, sender/template gates, and cost-per-delivered before locking billing to a new failover route. Compare partners via /tools/brief.
- Partner Failover Route Cost Parity Audit for Message Lifecycle
Audit failover routes for cost-per-delivered parity and DLR integrity before committing volume; compare verified partner routes via /tools/brief.
- Building a Partner Failover Matrix for Message Final-State Confirmation
Design a failover matrix that prevents double-billing and missed disputes by ranking backup routes on DLR receipt quality, webhook latency, and dispute evidence.












