C.2 Example of single shift

23.0383GPPAlphabets and language-specific informationRelease 18TS

This example outlines the behaviour of both supporting and non-supporting receiving entities where the Turkish National Language Single Shift Table is indicated in the received message. In this example there is no locking shift mechanism used in parallel.

A non-supporting receiving entity will ignore the National Language Single Shift IE, and decode the message contents using the GSM 7 bit default alphabet table defined in subclause 6.2.1, including possible escape characters to the GSM 7 bit default alphabet extension table specified in subclause 6.2.1.1. For example the Turkish word "Türkçe" will be displayed as "Türkce".

A receiving entity that supports the Turkish National Language Single Shift Table will detect a National Language Single Shift IE in a TP User Data Header. This IE tells the receiving entity that the single shift mechanism is used.

A supporting receiving entity will notice the language code, in this example coded as ‘0000 0001’, and therefore use the Turkish National Language Single Shift Table defined in subclause A.2.1 instead of the GSM 7 bit default alphabet extension table defined in subclause 6.2.1.

If the next character is any character except <escape>, then the GSM 7 bit default alphabet table is used for the decode. If the next character is <escape> then the Turkish language specific table is used for the decode of the one character that follows the <escape>. This process will be repeated until the end of the received message, or until the end of the current segment of a concatenated message.

The Language selection at the start of a message takes 4 octets which correspond to five 7 bit characters which reduces the maximum number of characters per single message to 155.

Thereafter, the number of characters within that single message will be dependent upon the number of times a character is used that is within the National Language Single Shift Table.

Every character used from the National Language Single Shift Table will need an additional character to identify the escape to the National Language Single Shift Table. The available 155 character capacity of a single message will therefore be reduced accordingly. This reduction of overall message length also applies when using characters from the GSM 7 bit default alphabet extension table (see subclause 6.2.1.1) when the National Language Single Shift IE is not used.