![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/6/e3/6e35dc88-09f5-4506-bfb8-8724554a1fd5/6e35dc88-09f5-4506-bfb8-8724554a1fd5-bg185.png)
Chapter 4: Using the Commands
April 15, 2008 G24-L AT Commands Reference Manual 4-21
Changing the Character Set
Example
When an SMS messages with the following text: "Motorola G24-L OEM Module", is saved
inside the G24-L at entry 128, you can read it using several character sets.
When the "ASCII" character set is used, the following is received by the terminal:
AT+CSCS? //Read the current character set
+CSCS: "ASCII" //Currently using ASCII character set
OK
AT+CMGR=128 //Read SMS entry 128
+CMGR: "STO UNSENT",""
Motorola G24-L OEM Module //The content of SMS entry 128
OK
When the "USC2" character set is used, the following is received by the terminal:
AT+CSCS? //Read the current character set
+CSCS: "UCS2" //Currently using UCS2 character set
OK
AT+CMGR=128
+CMGR: "STO UNSENT",""
004D006F0074006F0072006F006C006100200067003200300020004F0045004D
0020004D006F00640075006C0065 //The content of SM entry 128
OK
The following is an ASCII translation of the SM contents:
004D M
006F o
0074 t
006F o
0072 r
006F o
006C l
0061 a
0020 [space]
0067 g
0032 2
0030 0
0020 [space]
004F O
0045 E
004D M
0020 [space]
004D M
006F o
0064 d
0075 u
006C l
0065 e
As this SMS was originally written in ENGLISH, meaning ASCII letters, each digit quadruplet
starts with double zeros (00). When other languages are used, the quadruplets have different
values.