📱 What is SPN? The Service Provider Name (SPN) is stored in the SIM card's EF_SPN elementary file (6F46).
It displays the network operator name on your phone screen. With only 16 bytes available, encoding efficiency matters significantly
for supporting multiple languages and emoji.
0 characters
🔗 Emoji & Unicode references
- Unicode sports & games symbols — browse codepoints to test C80 BMP emoji ranges (U+2600–U+27BF).
- Emojipedia: Red Heart (❤️) — see why ❤ (U+2764) + variation selector (U+FE0F) is treated as one user-visible emoji.
- UTF-8 byte inspector (🇴🇲 example) — paste any string to see the exact UTF-8 / UTF-16 bytes; useful for understanding the 4-byte cost of SMP emoji in Coding 80.
- Unicode Consortium code charts — authoritative block-by-block PDFs (Arabic U+0600–U+06FF, Arabic Presentation Forms, emoji blocks).
- Compart Unicode database — searchable per-character lookup with UTF-8 / UTF-16 byte breakdown and HTML entity codes.
- Unicode property inspector — official tool to check character properties, normalization, and script categories (helps explain why C81 fails on U+0680+ Persian letters).
Analyzing...
All Encodings (Comparison)
Comparison Table
| Encoding Method | Max Characters | Arabic Support | Emoji Support | Overhead | Best For |
|---|
🔧 APDU Builder. Generates ready-to-send ISO 7816-4 APDUs to read & update EF_SPN (6F46) on the SIM, plus an optional proactive REFRESH command (no UICC reset). One APDU set is rendered per registered SIM supplier from
data/sim_profiles.json.
1. Display Condition (first byte of EF_SPN)
Display byte: 0xFE
Default
0xFE — phone shows the SPN (operator brand) on HPLMN, and only the visited operator name when roaming. Bits 3–8 are RFU and set to 1 per TS 31.102 §4.2.12 (USIM). Common alternatives: 0xFF = always show SPN + always show PLMN (both stacked), 0xFD = SPN always (even when roaming) + suppress PLMN on HPLMN, 0xFC = SPN only on HPLMN + always show PLMN. Legacy GSM SIM (TS 51.011) sets RFU bits to 0 instead.
2. SPN Data (16 bytes)
No SPN encoded yet — run the Analyzer tab first.
3. REFRESH Command (optional)
Default qualifier
0x00 = "NAA Initialization & Full File Change Notification" per ETSI TS 102 223 §6.6.7. Re-reads NAA files but does not reset the UICC — no PIN re-prompt, no session drop.
4. APDUs per SIM Supplier
Loading SIM profiles…
🔍 APDU Decoder. Paste a captured EF_SPN APDU (SELECT, UPDATE BINARY, READ BINARY response, or a chained sequence) and get back the decoded class byte, instruction, display-condition byte, encoding scheme, and the SPN string the SIM would display.
1. Paste APDU Hex
Whitespace, dashes and colons are ignored. Multiple APDUs in sequence are auto-detected and decoded individually.
2. Decoded Output
Paste an APDU above and click Decode.