Understanding Special and Non-Special Characters for SMS
Understanding Special and Non-Special Characters for SMS
The standard number of characters available for an SMS is 160.
However, the use of special characters and emojis reduces this limit to 70.
Any character not listed in the table above + emojis are special characters.
Special characters and Emojis use more than 2 bits to be encoded and hence are counted accordingly. The emoji "π©βπ§βπ¦" uses 8 characters.
How are credits calculated for non-special characters?
Most non-special characters fall under the GSM-7 encoding mechanism which means each character takes up 1 bit to be encoded.Β
One message segment allows you 160 characters. An SMS containing the message β Hi this is a simple text message.β has 33 characters and hence has used up 33 out of the available 160 characters for one message segment.Β
However, if I add a character like a β|β (vertical bar), it will take up an extra 2 characters as it takes 2 bits to be encoded. Hence, the modified message β Hi this is a simple text message.| β will use 35/160 characters.Β
As this message uses only 1 message segment, only 1 credit will be utilized.Β
What happens when I exceed the 160-character limit?
As soon as the characters go above 160 characters, the following characters will become part of the second message segment.Β
Since 2 message segments will be used to send the message, the number of credits used will be 2.Β
How are credits calculated for Special characters?
Special characters fall under the UCS-2 encoding mechanism. In this mechanism the special characters take up 2 or more than 2 bits to be encoded.Β
With the UCS-2 encoding one message segment equals 70 characters. For example,Β
β Hi this is a simple text message πβ
will use 35 out of the 70 characters available for one message segment. The presence of the emoji πchanged the available characters to 70.Β
As this statement only uses 1 message segment (under 70 characters), one credit will be used for this message.Β
What happens when I exceed the 70 character limit?
If the above message was modified toΒ
βHi this is a simple text message πPlease confirm if you have received this message.βΒ
This statement now has 84 characters which has exceeded the 70-character limit. The characters following this limit will now be part of the second message segment. The message will now cost you 2 credits, for 2 message segments
Any unicode character is considered special, even if it looks similar to a non-special character. Letβs use the example of double quotation marks.Β
- This is the non-special character: “
- These are special characters: Β«, β, β, β,γ, “
Summary
Non-Special Character Length | Special Character Length | Segments (in numbers) | Charged as |
0 β 160 characters | 0 β 70 characters | 1 | Single credit |
161 β 306 characters | 71 β 137 characters | 2 | Two credits |
307 β 459 characters | 138 β 204 characters | 3 | Three credits |
460 β 612 characters | 205 β 271 characters | 4 | Four credits |
613 β 765 characters | 272 β 338 characters | 5 | Four credits |
766 β 918 characters | 339 β 405 characters | 6 | Four credits |
919 β 1,071 characters | 406 β 472 characters | 7 | Four credits |
1,072 β 1,224 characters | 473 β 539 characters | 8 | Four credits |
1,225 β 1,377 characters | 540 β 606 characters | 9 | Four credits |
1,378 β 1,530 characters | 607 β 673 characters | 10 | Four credits |