Follow

How to send Unicode SMS Text messages?

I order to to send special characters outside the given GSM character set, you have to encode message as unicode.

To send unicode messages through our developer API; provide additional parameter in submitSM request;

"DCS=UCS2"


And text message should be encoded as unicode hex characters.

For example in C# you would do something like this:

string strunicodeOutput = "";

char[] bytes = textmessage.ToCharArray();
for (int i = 0;i<bytes.Length; i++)
{
    strunicodeOutput += Convert.ToInt32(bytes[i]).ToString("X2").PadLeft(4,'0');
}

 

*70 Unicode characters message= 1 text credit

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk