Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SMS Message Formatting

Could someone in the know tell me what kind of control I have on the formatting of SMS messages?

For example, bold text or carriage returns etc? Carriage return would be most important to me I suppose, is this possible to do and, if so, how?

like image 886
Stefan Avatar asked Jun 27 '11 14:06

Stefan


People also ask

Does SMS use UTF 8?

UTF-8. Acoustic Campaign does support and transmit SMS message as UTF-8, but how the message is processed depends on the capabilities of the mobile phones, mobile carriers, and local SMS gateways or vendors. Though UTF-8 is a common Unicode character set that supports characters for many languages.

What characters are allowed in SMS?

The character limit for a single SMS message is technically 160 characters. However, most modern phones and networks support message concatenation: they split large messages into individual SMS messages (called "segments") and then re-create the large message at the receiving end.

What is the difference between SMS text and regular text?

A text message of up to 160 characters without an attached file is known as an SMS, while a text that includes a file—like a picture, video, emoji, or a website link—becomes an MMS.


1 Answers

Formatting like bold text or italics, in general no - unless some particular SMS providers use a proprietary format for doing this (I'm not aware of any).

Standard SMSes are encoded using the GSM 03.38 7-bit alphabet which does include CR and LF (and FF) characters, but how these are rendered is up to the receiving end. Out of the two implementations I have to hand, both just ignore CR or LF (but one of them renders a line break if the message includes two consecutive spaces).

like image 180
Vicky Avatar answered Nov 12 '22 09:11

Vicky