{"id":15647,"date":"2018-01-10T21:52:28","date_gmt":"2018-01-11T05:52:28","guid":{"rendered":"http:\/\/m2msupport.net\/m2msupport\/?page_id=15647"},"modified":"2018-01-10T23:07:31","modified_gmt":"2018-01-11T07:07:31","slug":"sms-send-sms-in-other-languages","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/sms-send-sms-in-other-languages\/","title":{"rendered":"SMS &#8211; Send SMS in other languages"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 300;\">To send SMS message in a language other than English, the message should be encoded in Unicode format called UCS2. Each character in UCS2 format is represented in 2 bytes.<\/span><\/p>\n<p>Let us take an example of how to send SMS message in Chinese.<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/module-tester\/\"><img decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/chinese_ucs2.PNG\" alt=\"\" \/><\/a><\/p>\n<p><span style=\"font-weight: 300;\">Both the phone number and message content should be converted to UCS2 format as shown above.<\/span><\/p>\n<p>Then set the data coding scheme to UCS2 for text mode SMS messages. DCS is the 4th parameter of AT+CSMP command and value 25 corresponds to UCS2 encoding.<\/p>\n<p>AT+CSMP=17,167,2,25<br \/>\nOK<\/p>\n<p>Set device&#8217;s character set to UCS2.<\/p>\n<p>AT+CSCS=&#8221;UCS2&#8243;<br \/>\nOK<\/p>\n<p>Now pass the encoded phone number and message to AT+CMGS command,<\/p>\n<div>\u00a0<span style=\"font-weight: 300;\">AT+CMGS=&#8221;0038003500380037003700380036003700360037&#8243;\u00a0<\/span><\/div>\n<p>&gt; 4f60597d5417<br \/>\n&gt;<br \/>\n+CMGS: 44<\/p>\n<p>OK<\/p>\n<p>Try sending SMS message in any language using AT Command Tester,<br \/>\n<a href=\"http:\/\/m2msupport.net\/m2msupport\/module-tester\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/at_tester_chinese_sms.PNG\" alt=\"\" alt=\"\" width=\"689\" height=\"688\"\/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; To send SMS message in a language other than English, the message should be encoded in Unicode format called UCS2. Each character in UCS2 format is represented in 2 bytes. Let us take an example of how to send &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/sms-send-sms-in-other-languages\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"software_howto.php","meta":{"footnotes":""},"class_list":["post-15647","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/15647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=15647"}],"version-history":[{"count":8,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/15647\/revisions"}],"predecessor-version":[{"id":15659,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/15647\/revisions\/15659"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=15647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}