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.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

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.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

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

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers