National Language Shift Table and GSM character set for SMPP

Introduction

Apart from standard features of SMPP 3.4, Power SMPP Software also supports National Language Single Shift and National Language Locking Shift functionality as per GSM 03.38 character set.

The national language tables are used for adding the special characters of certain languages that cannot be expressed using the GSM default 7 bit alphabet.

National Language Shift (Single/Locking) consists up to 26 different pages including most popular Turkish locking shift characters like ğ, Ğ, €, which can be sent at the cost of a single GSM-7 character, which is otherwise considered at unicode character and maximum of 70 characters can be sent in single SMS.

ESM class parameter must be defined to 64 which indicates that UDH is present in the message payload. Based on the Information Element identifier and language specific table, UDH is prepared and pre-pended in message payload.
 
Information Element Identifier Value
  • 24 National Language Single Shift
  • 25 National Language Locking Shift
 
Sample UDH for a Turkish National Language Single Shift 
03240101
03= UDHL, UDH Length
24= IEI, Information Element Identifier (National Language Identifier)
01= IEL, Information Element Length
01= IE, Information Element (Turkish National Language Single Shift indicator*)
 
Sample UDH for a Turkish National Language Locking Shift 
03250101
03= UDHL, UDH Length
25= IEI, Information Element Identifier (National Language Identifier)
01= IEL, Information Element Length
01= IE, Information Element (Turkish National Language Single Shift indicator*)
 
* National Language Indicator
00 Reserved
01 Turkish
02 Spanish (Single Shift not available, use default)
03 Portuguese
04 Bengali
05 Gujarati
06 Hindi
07 Kannada
08 Malayalam
09 Oriya
0A Punjabi
0B Tamil
0C Telugu
0D Urdu

Implementation

Each supported language has two sets of code pages and both can be used in isolation or combination. In general they are used in isolation and the single shift page mechanism is widely popular in the industry landscape.

The shift page is activated by using an ‘escape’ character. For GSM this is 0x1B (27). If no National Language Shift is indicated then default extended character set is assumed for encoding or decoding.

Based on UDH following logic should be implemented :
 
UDH Information Regular CharacterWith Escape Sequence Character
No National Language IdentifierGSM 7 bit default alphabet tableGSM 7 bit default Extended Character set
Turkish National Language Single ShiftGSM 7 bit default alphabet tableTurkish National Language Single Shift Table
Turkish National Language Locking ShiftTurkish National Language Locking Shift TableTurkish National Language Locking Shift Table
Turkish National Language Locking + Single ShiftTurkish National Language Locking Shift TableNational Language Single Shift Table

 

In case of mixed implementation, locking shift mechanism will follow till an escape character is encountered and resumed after the escape character. Single shift table should be followed for escape characters. 
 
 

Beyond the Message

Ideas and innovations driving the next era of customer communication

How A2P Aggregators Can Monetize WhatsApp in Their CPaaS Stack

The global messaging landscape is evolving—and fast. While A2P SMS remains a reliable and widely-used […]

A2P Messaging Unplugged: Understanding Tomorrow’s Trends Today 

A2P messaging is evolving fast, and service providers are leading the charge. Businesses now need to offer seamless, multi-channel communication across SMS, WhatsApp, email, and more. With Rich Communication Services (RCS) bringing a new dimension to SMS and personalized messaging driving engagement, it’s all about delivering timely, tailored experiences. Security, scalability, and API integration are key to staying competitive, while analytics help fine-tune strategies. Power SMPP is built to support service providers with innovative tools for high-volume, secure, and personalized messaging, ensuring they stay ahead in this rapidly changing landscape.

WhatsApp API : A Game- changer for CPaaS Omni – channel platforms

Imagine switching from a WhatsApp chat to an SMS without missing a beat. Today’s consumers expect this seamless experience, and CPaaS providers and SMS aggregators must adapt. The global A2P messaging market is growing steadily, and integrating channels like WhatsApp alongside SMS is essential for staying competitive. Power SMPP empowers CPaaS platforms to offer a unified, omnichannel approach—boosting reach, engagement, and scalability. With advanced routing, real-time analytics, and robust security, Power SMPP provides solutions for success in the evolving messaging landscape. Learn more in our latest blog.

× How can I help you?
🏆 MEFFYS Awards 2025 finalists! in Best Enterprise Communication Platform
This is default text for notification bar