GSM 03.38
Introduction In mobile telephony '''GSM 03.38''' or '''3GPP 23.038''' is a character encoding used in GSM networks for SMS (Short Message Service), CB (Cell Broadcast) and USSD (Unstructured Supplementary Service Data). The 3GPP TS 23.038 standard (originally GSM recommendation 03.38) defines '''GSM 7-bit default alphabet''' which is mandatory for GSM handsets and network elements, but the character set is suitable only for English and a number of Western-European languages. Languages such as Chinese, Korean or Japanese must be transferred using the 16-bit UCS-2 character encoding. A limited number of languages, like Portuguese, Spanish, Turkish and a number of languages used in India written with a Brahmic scripts may use 7-bit encoding with ''national language shift table'' defined in 3GPP 23.038.For binary messages, 8-bit encoding is used.
GSM 7-bit default alphabet and extension table of 3GPP TS 23.038 / GSM 03.38 The standard encoding for GSM messages is the 7-bit default alphabet as defined in the 23.038 recommendation.Seven-bit characters must be encoded into octets following one of three packing modes:* CBS: using this encoding, it is possible to send up to 93 characters (packed in up to 82 octets) in one SMS message in a Cell Broadcast Service. * SMS: using this encoding, it is possible to send up to 160 characters (packed in up to 140 octets) in one SMS message in the GSM network. * USSD: using this encoding, it is possible to send up to 182 characters (packed in up to 160 octets) in one SMS message of Unstructured Supplementary Service Data.+ Basic Character Set    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @  Δ  SP  0  ¡  P  ¿  p 0x01 £  _  ! 1  A  Q  a  q 0x02 $  Φ  "  2  B  R  b  r 0x03 ¥  Γ  #  3  C  S  c  s 0x04 è  Λ  ¤  4  D  T  d  t 0x05 é  Ω  %  5  E  U  e  u 0x06 ù  Π  &  6  F  V  f  v 0x07 ì  Ψ  '  7  G  W  g  w 0x08 ò  Σ  (  8  H  X  h  x 0x09 Ç  Θ  )  9  I  Y  i  y 0x0A LF  Ξ  *  :  J  Z  j  z 0x0B Ø  ESC  +  ;  K  Ä  k  ä 0x0C ø  Æ  ,  less-than sign|CR  æ  -  =  M  Ñ  m  ñ 0x0E Å  ß  . >  N  Ü  n  ü 0x0F å  É  /  ? O  §  o  à* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape to extension table (maps to NBSP). * SP is a Space character.+ Basic Character Set Extension    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00                       0x01                        0x02                        0x03                        0x04    ^                   0x05                   €    0x06                        0x07                        0x08       {                0x09       }                0x0A FF                      0x0B    SS2                   0x0C                      0x0D CR2        ~             0x0E                      0x0F       \               * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.It is important (especially when a message is to be segmented using concatenated SMS mechanism) that characters from the Basic Character Set table take one septet, characters from the Basic Character Set Extension table take two septets.Note that the second part of the table is only accessible if the GSM device supports the 7-bit extension mechanism, using the ESC character prefix. Otherwise, the ESC code itself is interpreted as a space, and the following character will be treated as if there was no leading ESC code.Most of the high part of the table is not used in the default character set, but the GSM standard defines some language code indicators that allows the system to identify national variants of this part, to support more characters than those displayed in the above table.In a standard GSM text message, all characters are encoded using 7-bit code units, packed together to fill all bits of octets. So, for example, the 140-octet envelope of an SMS, with no other language indicator but only the standard class prefix, can transport up to (140*8)/7=160, that is 160 GSM 7-bit characters (but note that the ESC code counts for one of them, if characters in the high part of the table are used).Longer messages may be sent, but will require a continuation prefix and a sequence number on subsequent SMS messages (these prefix bytes and sequence number are counted within the maximum length of the 140-octet payload of the envelope format).When there are 1 to 6 spare bits in the last octet of a message, these bits are set to zero (these bits do not count as a character but only as a filler). When there are 7 spare bits in the last octet of a message, these bits are set to the 7-bit code of the CR control (also used as a padding filler) instead of being set to zero (where they would be confused with the 7-bit code of an '@' character).This 7-bit encoding allows the transport of texts consisting of printable characters from Basic Latin (Unicode block) (with the exception of the grave accent/backtick), as well as some characters of the ISO Latin 1 character set. It also allows the encoding of texts written in the Greek script, but only capitals; for such use in Greek, the Latin capital letters that look like the Greek letters are reused with the same code, so that the above character set is complete only for modern monotonic Greek restricted to capital letters. A complete support for the Greek alphabet (including small letters) requires a national version of the shifted 7-bit table (using the ESC code for each national character encoded in this shifted table), or an unspecified proprietary 8-bit encoding, or the use of the UCS-2 encoding (see below).Note that the special code marked ''SS2'' in the table above has also been assigned (and encoded as 0x1B,0x1B) to allow using another alternate 7-bit shift table. But this mechanism has never been used and the UCS-2 encoding has been preferred.Note that the character 0x09 (''Ç'', capital C with cedilla) should instead be replaced by ''ç'' (small c with cedilla) in modern implementation, as recommended by Unicode, since the uppercase version is of little use.
GSM 8-bit data encoding 8-bit data encoding mode treats the information as raw data. According to the standard, the alphabet for this encoding is user-specific.
UCS-2 Encoding This encoding allows use of a greater range of characters and languages. UCS-2 can represent the most commonly used Latin and eastern characters at the cost of a greater space expense. Strictly speaking, UCS-2 is limited to characters in the Basic Multilingual Plane. However, since modern programming environments do not provide encoders or decoders for UCS-2, some cell phones (e.g. iPhones) use UTF-16 instead of UCS-2.This works, because for characters in the Basic Multilingual Plane (including full alphabets of most modern human languages) UCS-2 and UTF-16 encodings are identical. To encode characters outside of the BMP (unreachable in plain UCS-2), such as Emoji, UTF-16 uses surrogate pairs, which when decoded with UCS-2 would appear as two valid but unmapped code points. A single SMS GSM message using this encoding can have at most 70 characters (140 octets).Note that on many GSM cell phones, there's no specific preselection of the UCS-2 encoding. The default is to use the 7-bit encoding described above, until one enters a character that is not present in the GSM 7-bit table (for example the lowercase 'a' with acute: 'á'). In that case, the whole message gets reencoded using the UCS-2 encoding, and the maximum length of the message sent in a single SMS is immediately reduced to 70 characters, instead of 160.Others vary based on the choice and configuration of SMS application, and the length of the message.To avoid unexpected costs for senders that have a subscription for a limited pack of sent SMS, applications should display the number of character used and the maximum number of characters in the composed SMS. When a message exceeds this maximum, the message will be sent as multiple successive SMS containing parts of the message (each one containing a sequence number, which also uses a few leading characters in each part); these parts are intended to be reassembled later by the recipient.Some applications alert the user when a message will require splitting, or even send a longer message as a multimedia message (MMS).
National language shift tables Since release 8 of the 3GPP 23.038 standard of March 2008, additional characters sets can be accessed through the use of a National Language Shift Tables.These tables allow using of different character sets according to the language the text is going to be written. The choice of table for a given message is selected in the User Data Header section of an SMS message and can be specified for the whole text (a ''Locking'' shift table replacing standard GSM 7-bit default alphabet table) or a single character (''Single'' shift table replacing the GSM 7-bit default alphabet extension table). ''Locking'' and ''Single'' shift tables together in the same message are possible, if both standard default alphabet table and default alphabet extension table are to be replaced.Using a shift table, a message can still use 7-bit encoding for the characters, but a different set can be chosen to correctly show accented and language specific characters. This allows up to 155 characters, encoded in 136 octets (140 octets, minus the 4-octets of User Data Header required to indicate the use of a shift table and the language code). With both ''Locking'' and ''Single'' shift tables, up to 152 characters are allowed, encoded in 133 octets (140 octets, minus 7-octets User Data Header).Characters from any locking shift table take one septet, characters from the single shift table (or Basic Character Set Extension table) take two septets.Initially, shift tables only for Turkish were specified; Spanish and Portuguese were added in later revisions of release 8.Release 9 introduced 10 languages used in India written with a Brahmic scripts (Bengali, Gujarati, Hindi, Kannada, Malayalam, Oriya, Punjabi, Tamil, Telugu) and Urdu.There is still no defined national language shift table for French, Greek, Russian, Bulgarian, Arabic, Hebrew and most Central European languages that need a better coverage than the default 7-bit standard character set and its default 7-bit extension character set: if ever any character is composed that cannot be represented in those default GSM 7-bit sets, the message will be automatically reencoded using UCS-2, with the effect of dividing by more than two the maximum length in characters of messages that can be sent at the price of a single SMS (when a message is split in multiple parts, a few other octets are needed in the User Data Header to indicate the sequence number of each part).Although a revision of GSM 03.38 (as early as in version 4.0.1 of September 1994) has defined Data Coding Scheme values for Cell Broadcast System (CBS) for German, English, Italian, French, Spanish, Dutch, Swedish, Danish, Finnish, Norwegian, Greek and Turkish; with Hungarian, Polish, Czech, Hebrew, Arabic, Russian and Icelandic added in later revisions, no coding tables were defined for these languages. The purpose of this field was purely to identify the language of the message.There's also no language shift table for Japanese written in basic kanas, or for Korean written in Hangul jamos, or for Chinese written in the Han script. This is often not a problem in Japan, because it uses other standards than GSM and WAP for messaging. The two other languages also have too many distinct characters to fit into a 7-bit shift table.=== Spanish language (Latin script) ===There's no specific Locking Shift Character Set for the Spanish language. Uses the default Basic Character Set.+ Basic Character Set by default(No Locking Shift Table Defined for Spanish)    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @  Δ  SP  0  ¡  P  ¿  p 0x01 £  _  ! 1  A  Q  a  q 0x02 $  Φ  "  2  B  R  b  r 0x03 ¥  Γ  #  3  C  S  c  s 0x04 è  Λ  ¤  4  D  T  d  t 0x05 é  Ω  %  5  E  U  e  u 0x06 ù  Π  &  6  F  V  f  v 0x07 ì  Ψ  '  7  G  W  g  w 0x08 ò  Σ  (  8  H  X  h  x 0x09 Ç  Θ  )  9  I  Y  i  y 0x0A LF  Ξ  *  :  J  Z  j  z 0x0B Ø  ESC  +  ;  K  Ä  k  ä 0x0C ø  Æ  ,  less-than sign|CR  æ  -  =  M  Ñ  m  ñ 0x0E Å  ß  . >  N  Ü  n  ü 0x0F å  É  /  ? O  §  o  à* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Spanish languageUDH contains 0x24 0x01 0x02    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00                       0x01             Á     á    0x02                        0x03                        0x04    ^                   0x05                Ú  €  ú 0x06                        0x07                        0x08       {                0x09 ç     }     Í     í    0x0A FF                      0x0B    SS2                   0x0C                      0x0D CR2        ~             0x0E                      0x0F       \     Ó     ó   * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Portuguese language (Latin script) ===+ Locking Shift Character Set for Portuguese languageUDH contains 0x25 0x01 0x03    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @  Δ  SP  0  Í  P  ~  p 0x01 £  _  ! 1  A  Q  a  q 0x02 $  ª  "  2  B  R  b  r 0x03 ¥  Ç  #  3  C  S  c  s 0x04 ê  À  º  4  D  T  d  t 0x05 é  ∞  %  5  E  U  e  u 0x06 ú  ^  & 6  F  V  f  v 0x07 í  \  '  7  G  W  g  w 0x08 ó  €  (  8  H  X  h  x 0x09 ç  Ó  )  9  I  Y  i  y 0x0A LF    *  :  J  Z  j  z 0x0B Ô  ESC  +  ;  K  Ã  k  ã 0x0C ô  Â  ,  less-than sign|CR  â  -  =  M  Ú  m  ` 0x0E Á  Ê  . >  N  Ü  n  ü 0x0F á  É  /  ? O  §  o  à* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Portuguese languageUDH contains 0x24 0x01 0x03    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00                       0x01             À     Â    0x02    Φ                   0x03    Γ                   0x04    ^                   0x05 ê  Ω           Ú  €  ú 0x06    Π                   0x07    Ψ                   0x08    Σ  {                0x09 ç  Θ  }     Í     í    0x0A FF                      0x0B Ô  SS2           Ã     ã 0x0C ô            Õ     õ 0x0D CR2        ~             0x0E Á                    0x0F á  Ê  \     Ó     ó  â* FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Turkish language (Latin script) ===+ Locking Shift Character Set for Turkish languageUDH contains 0x25 0x01 0x01    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @  Δ  SP  0  İ  P  ç  p 0x01 £  _  ! 1  A  Q  a  q 0x02 $  Φ  "  2  B  R  b  r 0x03 ¥  Γ  #  3  C  S  c  s 0x04 €  Λ  ¤  4  D  T  d  t 0x05 é  Ω  %  5  E  U  e  u 0x06 ù  Π  &  6  F  V  f  v 0x07 ı  Ψ  '  7  G  W  g  w 0x08 ò  Σ  (  8  H  X  h  x 0x09 Ç  Θ  )  9  I  Y  i  y 0x0A LF  Ξ  *  :  J  Z  j  z 0x0B Ğ  ESC  +  ;  K  Ä  k  ä 0x0C ğ  Ş  ,  less-than sign|CR  ş  -  =  M  Ñ  m  ñ 0x0E Å  ß  . >  N  Ü  n  ü 0x0F å  É  /  ? O  §  o  à* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Turkish languageUDH contains 0x24 0x01 0x01    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00                       0x01                        0x02                        0x03                Ş  ç  ş 0x04    ^                   0x05                   €    0x06                        0x07             Ğ     ğ    0x08       {                0x09       }     İ     ı    0x0A FF                      0x0B    SS2                   0x0C                      0x0D CR2        ~             0x0E                      0x0F       \               * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Urdu language (Arabic and basic Latin scripts) ===It may also be used for the Sindhi language also written in the Arabic script.Sometimes it may be used for Arabic language as well, but the Eastern digits (encoded here in their Persian-Hindu variant) won't be used in that case because standard Arabic prefer its traditional Eastern Arabic digits, and will frequently be replaced by Western Arabic digits (encoded in the locking shift character set in column 0x30) which are also used now frequently in Urdu as well. However, in India, phones recognizing the Arabic language indication may substitute the Persian-Hindu variants of the Eastern Arabic digits by the traditional Eastern Arabic digits.+ Locking Shift Character Set for Urdu languageUDH contains 0x25 0x01 0x0D    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 ا  ث  SP  0  ص  ں  ◌ٔ  p 0x01 آ  ج  ! 1  ض  ڻ  a  q 0x02 ب  ځ  ڏ  2  ط  ڼ  b  r 0x03 ٻ  ڄ  ڍ  3  ظ  و  c  s 0x04 ڀ  ڃ  ذ  4  ع  ۄ  d  t 0x05 پ  څ  ر  5  ف  ە  e  u 0x06 ڦ  چ  ڑ  6  ق  ہ  f  v 0x07 ت  ڇ  ړ  7  ک  ھ  g  w 0x08 ۂ  ح  )  8  ڪ  ء  h  x 0x09 ٿ  خ  (  9  ګ  ی  i  y 0x0A LF  د  ڙ  :  گ  ې  j  z 0x0B ٹ  ESC  ز  ;  ڳ  ے  k  ◌ٕ 0x0C ٽ  ڌ  ,  ښ  ڱ  ◌ٍ  l  ◌ّ 0x0D CR  ڈ  ږ  س  ل  ◌ِ  m  ◌ٓ 0x0E ٺ  ډ  . ش  م  ◌ُ  n  ◌ٖ 0x0F ټ  ڊ  ژ  ? ن  ◌ٗ  o  ◌ٰ* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Urdu languageUDH contains 0x24 0x01 0x0D    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @    ۶  ؛  B  R       0x03 ¥  ¡  ۷  ؟  C  S       0x04 ¿  ^  ۸  ـ  D  T       0x05 "  ¡  ۹  ◌ْ  E  U  €    0x06 ¤  _  ،  ◌٘  F  V       0x07 %  #  ؍  ٫  G  W       0x08 &  *  {  ٬  H  X       0x09 '  ؀  }  ٲ  I  Y       0x0A FF  ؁  ؎  ٳ  J  Z       0x0B *  SS2  ؏  ۍ  K          0x0C +  ۰  ◌ؐ   L          0x0D CR2  ۱  ◌ؑ  ~  M          0x0E -  ۲  ◌ؒ   N          0x0F /  ۳  \  ۔  O         * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Hindi language (Devanagari and basic Latin scripts) ===+ Locking Shift Character Set for Hindi languageUDH contains 0x25 0x01 0x06    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 ◌ँ  ऐ  SP  0  ब  ◌ा  ॐ  p 0x01 ◌ं  ऑ  ! 1  भ  ◌ि  a  q 0x02 ◌ः  ऒ  ट  2  म  ◌ी  b  r 0x03 अ  ओ  ठ  3  य  ◌ु  c  s 0x04 आ  औ  ड  4  र  ◌ू  d  t 0x05 इ  क  ढ  5  ऱ  ◌ृ  e  u 0x06 ई  ख  ण  6  ल  ◌ॄ  f  v 0x07 उ  ग  त  7  ळ  ◌ॅ  g  w 0x08 ऊ  घ  )  8  ऴ  ◌ॆ  h  x 0x09 ऋ  ङ  (  9  व  ◌े  i  y 0x0A LF  च  थ  :  श  ◌ै  j  z 0x0B ऌ  ESC  द  ;  ष  ◌ॉ  k  ॲ 0x0C ऍ  छ  ,  ऩ  स  ◌ॊ  l  ॻ 0x0D CR  ज  ध  प  ह  ◌ो  m  ॼ 0x0E ऎ  झ  . फ  ◌़  ◌ौ  n  ॾ 0x0F ए  ञ  न  ? ऽ  ◌्  o  ॿ* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Hindi languageUDH contains 0x24 0x01 0x06    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @    ६  ढ़  B  R       0x03 ¥  ¡  ७  फ़  C  S       0x04 ¿  ^  ८  य़  D  T       0x05 "  ¡  ९  ॠ  E  U  €    0x06 ¤  _  ◌॑  ॡ  F  V       0x07 %  #  ◌॒  ◌ॢ  G  W       0x08 &  *  {  ◌ॣ  H  X       0x09 '  ।  }  ॰  I  Y       0x0A FF  ॥  ◌॓  ॱ  J  Z       0x0B *  SS2  ◌॔     K          0x0C +  ०  क़   L          0x0D CR2  १  ख़  ~  M          0x0E -  २  ग़   N          0x0F /  ३  \     O         * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Bengali and Assamese languages (Bengali and basic Latin scripts) ===+Locking Shift Character Set for Bengali and Assamese languagesUDH contains 0x25 0x01 0x04    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 ◌ঁ  ঐ  SP  0  ◌ব  া  ৎ  p 0x01 ◌ং     ! 1  ভ  ◌ি  a  q 0x02 ◌ঃ     ট  2  ম  ◌ী  b  r 0x03 অ  ও  ঠ  3  য  ◌ু  c  s 0x04 আ  ঔ  ড  4  র  ◌ূ  d  t 0x05 ই  ক  ঢ  5     ◌ৃ  e  u 0x06 ঈ  খ  ণ  6  ল  ◌ৄ  f  v 0x07 উ  গ  ত  7        g  w 0x08 ঊ  ঘ  )  8        h  x 0x09 ঋ  ঙ  (  9     ◌ে  i  y 0x0A LF  চ  থ  :  শ  ◌ৈ  j  z 0x0B ঌ  ESC  দ  ;  ষ     k  ◌ৗ 0x0C    ছ  ,     স     l  ড় 0x0D CR  জ  ধ  প  হ  ◌ো  m  ঢ় 0x0E    ঝ  . ফ  ◌়  ◌ৌ  n  ৰ 0x0F এ  ঞ  ন  ? ঽ  ◌্  o  ৱ* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Bengali and Assamese languagesUDH contains 0x24 0x01 0x04    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @    ৮  ৸  B  R       0x03 ¥  ¡  ৯  ৹  C  S       0x04 ¿  ^  য়  ৺  D  T       0x05 "  ¡  ৠ     E  U  €    0x06 ¤  _  ৡ     F  V       0x07 %  #  ◌ৢ     G  W       0x08 &  *  {     H  X       0x09 '  ০  }     I  Y       0x0A FF  ১  ◌ৣ     J  Z       0x0B *  SS2  ৲     K          0x0C +  ২  ৳   L          0x0D CR2  ৩  ৴  ~  M          0x0E -  ৪  ৵   N          0x0F /  ৫  \     O         * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Punjabi language (Gurmukhī and basic Latin scripts) ===+ Locking Shift Character Set for Punjabi languageUDH contains 0x25 0x01 0x0A    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 ◌ਁ  ਐ  SP  0  ਬ  ◌ਾ  ◌ੑ  p 0x01 ◌ਂ     ! 1  ਭ  ◌ਿ  a  q 0x02 ◌ਃ     ਟ  2  ਮ  ◌ੀ  b  r 0x03 ਅ  ਓ  ਠ  3  ਯ  ◌ੁ  c  s 0x04 ਆ  ਔ  ਡ  4  ਰ  ◌ੂ  d  t 0x05 ਇ  ਕ  ਢ  5        e  u 0x06 ਈ  ਖ  ਣ  6  ਲ     f  v 0x07 ਉ  ਗ  ਤ  7  ਲ਼     g  w 0x08 ਊ  ਘ  )  8        h  x 0x09    ਙ  (  9  ਵ  ◌ੇ  i  y 0x0A LF  ਚ  ਥ  :  ਸ਼  ◌ੈ  j  z 0x0B    ESC  ਦ  ;        k  ◌ੰ 0x0C    ਛ  ,     ਸ     l  ◌ੱ 0x0D CR  ਜ  ਧ  ਪ  ਹ  ◌ੋ  m  ੲ 0x0E    ਝ  . ਫ  ◌਼  ◌ੌ  n  ੳ 0x0F ਏ  ਞ  ਨ  ? ◌੍  o  ੴ* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Punjabi languageUDH contains 0x24 0x01 0x0A    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @    ੬     B  R       0x03 ¥  ¡  ੭     C  S       0x04 ¿  ^  ੮     D  T       0x05 "  ¡  ੯     E  U  €    0x06 ¤  _  ਖ਼     F  V       0x07 %  #  ਗ਼     G  W       0x08 &  *  {     H  X       0x09 '  ।  }     I  Y       0x0A FF  ॥  ਜ਼     J  Z       0x0B *  SS2  ੜ     K          0x0C +  ੦  ਫ਼   L          0x0D CR2  ੧  ◌ੵ  ~  M          0x0E -  ੨      N          0x0F /  ੩  \     O         * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Gujarati language (Gujarati and basic Latin scripts) ===+ Locking Shift Character Set for Gujarati languageUDH contains 0x25 0x01 0x05    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 ◌ઁ  ઐ  SP  0  બ  ◌ા  ૐ  p 0x01 ◌ં  ઑ  ! 1  ભ  ◌િ  a  q 0x02 ◌ઃ     ટ  2  મ  ◌ી  b  r 0x03 અ  ઓ  ઠ  3  ય  ◌ુ  c  s 0x04 આ  ઔ  ડ  4  ર  ◌ૂ  d  t 0x05 ઇ  ક  ઢ  5     ◌ૃ  e  u 0x06 ઈ  ખ  ણ  6  લ  ◌ૄ  f  v 0x07 ઉ  ગ  ત  7  ળ  ◌ૅ  g  w 0x08 ઊ  ઘ  )  8        h  x 0x09 ઋ  ઙ  (  9  વ  ◌ે  i  y 0x0A LF  ચ  થ  :  શ  ◌ૈ  j  z 0x0B ઌ  ESC  દ  ;  ષ  ◌ૉ  k  ૠ 0x0C ઍ  છ  ,     સ     l  ૡ 0x0D CR  જ  ધ  પ  હ  ◌ો  m  ◌ૢ 0x0E    ઝ  . ફ  ◌઼  ◌ૌ  n  ◌ૣ 0x0F એ  ઞ  ન  ? ઽ  ◌્  o  ૱* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Gujarati languageUDH contains 0x24 0x01 0x05    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @    ૬     B  R       0x03 ¥  ¡  ૭     C  S       0x04 ¿  ^  ૮     D  T       0x05 "  ¡  ૯     E  U  €    0x06 ¤  _        F  V       0x07 %  #        G  W       0x08 &  *  {     H  X       0x09 '  ।  }     I  Y       0x0A FF  ॥        J  Z       0x0B *  SS2        K          0x0C +  ૦      L          0x0D CR2  ૧     ~  M          0x0E -  ૨      N          0x0F /  ૩  \     O         * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Oriya language (Oriya and basic Latin scripts) ===+ Locking Shift Character Set for Oriya languageUDH contains 0x25 0x01 0x09    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 ◌ଁ  ଐ  SP  0  ବ  ◌ା  ◌ୖ  p 0x01 ◌ଂ     ! 1  ଭ  ◌ି  a  q 0x02 ◌ଃ     ଟ  2  ମ  ◌ୀ  b  r 0x03 ଅ  ଓ  ଠ  3  ଯ  ◌ୁ  c  s 0x04 ଆ  ଔ  ଡ  4  ର  ◌ୂ  d  t 0x05 ଇ  କ  ଢ  5     ◌ୃ  e  u 0x06 ଈ  ଖ  ଣ  6  ଲ  ୄ  f  v 0x07 ଉ  ଗ  ତ  7  ଳ     g  w 0x08 ଊ  ଘ  )  8        h  x 0x09 ଋ  ଙ  (  9  ଵ  ◌େ  i  y 0x0A LF  ଚ  ଥ  :  ଶ  ◌ୈ  j  z 0x0B ଌ  ESC  ଦ  ;  ଷ     k  ◌ୗ 0x0C    ଛ  ,     ସ     l  ୠ 0x0D CR  ଜ  ଧ  ପ  ହ  ◌ୋ  m  ୡ 0x0E    ଝ  . ଫ  ◌଼  ◌ୌ  n  ◌ୢ 0x0F ଏ  ଞ  ନ  ? ଽ  ◌୍  o  ◌ୣ* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Oriya languageUDH contains 0x24 0x01 0x09    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @    ୬     B  R       0x03 ¥  ¡  ୭     C  S       0x04 ¿  ^  ୮     D  T       0x05 "  ¡  ୯     E  U  €    0x06 ¤  _  ଡ଼     F  V       0x07 %  #  ଢ଼     G  W       0x08 &  *  {     H  X       0x09 '  ।  }     I  Y       0x0A FF  ॥  ୟ     J  Z       0x0B *  SS2  ୰     K          0x0C +  ୦  ୱ   L          0x0D CR2  ୧     ~  M          0x0E -  ୨      N          0x0F /  ୩  \     O         * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Tamil language (Tamil and basic Latin scripts) ===+ Locking Shift Character Set for Tamil languageUDH contains 0x25 0x01 0x0B    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00    ஐ  SP  0     ◌ா   ௐ  p 0x01 ◌ஂ     ! 1     ◌ி  a  q 0x02 ◌ஃ  ஒ  ட  2  ம  ◌ீ  b  r 0x03 அ  ஓ     3  ய  ◌ு  c  s 0x04 ஆ  ஔ     4  ர  ◌ூ  d  t 0x05 இ  க     5  ற     e  u 0x06 ஈ     ண  6  ல     f  v 0x07 உ     த  7  ள     g  w 0x08 ஊ     )  8  ழ  ◌ெ  h  x 0x09    ங  (  9  வ  ◌ே  i  y 0x0A LF  ச     :  ஶ  ◌ை  j  z 0x0B    ESC     ;  ஷ     k  ◌ௗ 0x0C       ,  ன  ஸ  ◌ொ  l  ௰ 0x0D CR  ஜ     ப  ஹ  ◌ோ  m  ௱ 0x0E எ     . ◌ௌ  n  ௲ 0x0F ஏ  ஞ  ந  ? ◌்  o  ௹* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Tamil languageUDH contains 0x24 0x01 0x0B    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @    ௬     B  R       0x03 ¥  ¡  ௭     C  S       0x04 ¿  ^  ௮     D  T       0x05 "  ¡  ௯     E  U  €    0x06 ¤  _  ௳     F  V       0x07 %  #  ௴     G  W       0x08 &  *  {     H  X       0x09 '  ।  }     I  Y       0x0A FF  ॥  ௵     J  Z       0x0B *  SS2  ௶     K          0x0C +  ௦  ௷   L          0x0D CR2  ௧  ௸  ~  M          0x0E -  ௨  ௺   N          0x0F /  ௩  \     O         * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Telugu language (Telugu and basic Latin scripts) ===+ Locking Shift Character Set for Telugu languageUDH contains 0x25 0x01 0x0C    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 ◌ఁ  ఐ  SP  0  బ  ◌ా  ◌ౕ  p 0x01 ◌ం     ! 1  భ  ◌ి  a  q 0x02 ◌ః  ఒ  ట  2  మ  ◌ీ  b  r 0x03 అ  ఓ  ఠ  3  య  ◌ు  c  s 0x04 ఆ  ఔ  డ  4  ర  ◌ూ  d  t 0x05 ఇ  క  ఢ  5  ఱ  ◌ృ  e  u 0x06 ఈ  ఖ  ణ  6  ల  ◌ౄ  f  v 0x07 ఉ  గ  త  7  ళ     g  w 0x08 ఊ  ఘ  )  8     ◌ె  h  x 0x09 ఋ  ఙ  (  9  వ  ◌ే  i  y 0x0A LF  చ  థ  :  శ  ◌ై  j  z 0x0B ఌ  ESC  ద  ;  ష     k  ◌ౖ 0x0C    ఛ  ,     స  ◌ొ  l  ౠ 0x0D CR  జ  ధ  ప  హ  ◌ో  m  ౡ 0x0E ఎ  ఝ  . ఫ     ◌ౌ  n  ◌ౢ 0x0F ఏ  ఞ  న  ? ఽ  ◌్  o  ◌ౣ* LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Telugu languageUDH contains 0x24 0x01 0x0C    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 0x00 @    ౬  ౿  B  R       0x03 ¥  ¡  ౭     C  S       0x04 ¿  ^  ౮     D  T       0x05 "  ¡  ౯     E  U       0x06 ¤  _  ౘ     F  V       0x07 %  #  ౙ     G  W       0x08 &  *  {     H  X       0x09 '     }     I  Y       0x0A FF     ౸     J  Z       0x0B *  SS2  ౹     K          0x0C +  ౦  ౺   L          0x0D CR2  ౧  ౻  ~  M          0x0E -  ౨  ౼   N          0x0F /  ౩  \     O         * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Kannada language (Kannada and basic Latin scripts) ===+ Locking Shift Character Set for Kannada languageUDH contains 0x25 0x01 0x07    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 ! 0x00    ಐ  SP  0  ಬ  ಾ  ೕ  p  0x01 ಂ     ! 1  ಭ   ಿ  a  q  0x02 ಃ  ಒ  ಟ  2  ಮ  ೀ  b  r  0x03 ಅ  ಓ  ಠ  3  ಯ  ು  c  s  0x04 ಆ  ಔ  ಪ  4  ರ  ೂ  d  t  0x05 ಇ  ಕ  ಢ  5  ಱ  ೃ  e  u  0x06 ಈ  ಖ  ಣ  6  ಲ  ೄ  f  v  0x07 ಉ  ಗ  ತ  7  ಳ     g  w  0x08 ಊ  ಘ  )  8     ೆ  h  x  0x09 ಋ  ಙ  (  9  ವ  ೇ  i  y  0x0A LF  ಚ  ಥ  :  ಶ  ೈ  j  z  0x0B ಌ  ESC  ದ  ;  ಷ     k  ೖ  0x0C    ಛ  ,     ಸ  ೊ  l  ೠ  0x0D CR  ಜ  ಧ  ಪ  ಹ  ೋ  m  ೡ  0x0E ಎ  ಝ  . ಫ   ಼   ೌ  n   ೢ  0x0F ಏ  ಞ  ನ  ? ಽ   ್  o   ೣ * LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Kannada languageUDH contains 0x24 0x01 0x07    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 ! 0x00 @     ೬     B  R        0x03 ¥  ¡   ೭     C  S        0x04 ¿  ^   ೮     D  T        0x05 "  ¡   ೯     E  U  €     0x06 ¤  _  ೞ     F  V        0x07 %  #  ೱ     G  W        0x08 &  *  {     H  X        0x09 '   ।  }     I  Y        0x0A FF   ॥  ೲ     J  Z        0x0B *  SS2        K           0x0C +   ೦       L           0x0D CR2   ೧     ~  M           0x0E -   ೨       N           0x0F /   ೩  \     O          * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.=== Malayalam language (Malayalam and basic Latin scripts) ===+ Locking Shift Character Set for Malayalam languageUDH contains 0x25 0x01 0x08    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 ! 0x00    ഐ  SP  0  ബ  ാ  ൗ  p  0x01 ം     ! 1  ഭ  ി  a  q  0x02 ഃ  ഒ  ട  2  മ  ീ  b  r  0x03 അ  ഓ  ഠ  3  യ   ു  c  s  0x04 ആ  ഔ  ഡ  4  ര   ൂ  d  t  0x05 ഇ  ക  ഢ  5  റ   ൃ  e  u  0x06 ഈ  ഖ  ണ  6  ല   ൄ  f  v  0x07 ഉ  ഗ  ത  7  ള     g  w  0x08 ഊ  ഘ  )  8  ഴ  െ  h  x  0x09 ഋ  ങ  (  9  വ  േ  i  y  0x0A LF  ച  ഥ  : ശ  ൈ  j  z  0x0B ഌ  ESC  ദ  ; ഷ     k  ൠ  0x0C    ഛ  ,     സ  ൊ  l  ൡ  0x0D CR  ജ  ധ  പ  ഹ  ോ  m   ൢ  0x0E എ  ഝ  . ഫ     ൌ  n   ൣ  0x0F ഏ  ഞ  ന  ? ഽ   ്  o   ൹ * LF is a Line Feed control. * CR is a Carriage Return control, or filler. * ESC is an Escape control. * SP is a Space character.+ Single Shift Character Set for Malayalam languageUDH contains 0x25 0x01 0x08    0x00  0x10  0x20  0x30  0x40  0x50  0x60  0x70 ! 0x00 @    ൬  ൽ  B  R        0x03 ¥  ¡   ൭  ൾ  C  S        0x04 ¿  ^   ൮  ൿ  D  T        0x05 "  ¡   ൯     E  U  €    0x06 ¤  _  ൰     F  V        0x07 %  #   ൱     G  W        0x08 &  *  {    H  X        0x09 '  ।  }    I  Y        0x0A FF  ॥   ൲     J  Z        0x0B *  SS2   ൳     K           0x0C +   ൦   ൴   L           0x0D CR2   ൧   ൵  ~  M           0x0E -   ൨  ൺ   N           0x0F /   ൩  \     O          * FF is a Page Break control. If not recognized, it shall be treated like LF. * CR2 is a control character. No language specific character shall be encoded at this position. * SS2 is a second Single Shift Escape control reserved for future extensions.
See also * GSM 03.40* User Data Header
References
External links *  GSM 03.38 to Unicode - the GSM 03.38 to Unicode mapping data file from unicode.org. *  Text to GSM 03.38 in C# - Text to GSM 03.38 mapping in the C# programming language. *  JCharset - Java Charset package includes GSM 03.38 support - JCharset - Java Charset package includes GSM 03.38 support. *  Java regular expression for GSM 03.38 - Java regular expression for GSM 03.38 with code comments explaining the regex. *  SMS Character Limit - Understanding the SMS Character Limit. *  International Components for Unicode (ICU), gsm-03.38-2009.ucm mapping file