This header has a minimum length of 6 bytes, which leaves us with bytes in each part, or characters when using the 7bit character set. If a message contains characters that are not in the default 7bit character set, UTF16 encoding is used. UTF16 requires a minimum of 2 bytes per character, which leaves us with only 70 characters in a single part SMS, or 67 characters in each part of a concatenated SMS. Some characters, like emojis etc, will occupy 4 bytes.
The 7bit character set also includes a few characters that require an escape character and will therefore occupy 2 character slots. A multipart SMS message using the 7bit character set may not be split so that the escape character and the following character end up in separate parts.
We recommend that you check any high-volume messages in our Message Segment calculator before you send them. It will flag any UCS-2 characters so you can remove them and avoid being charged for any extra messages required to segment the source message.
We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better? Twilio Docs. Ready to start building? Sign up now.
Rate this page:. Thank you for your feedback! If applicable fill in the countries where you are using Twilio. In our example image below, both messages in the GSM7 encoding type. The message on the left has characters, less than the character for the first segment, so it is just a single segment. The message on the right is a total of character, pushing it over the character limit, resulting in 2 message segments. When you send SMS messages with Sakari, we will automatically use the most compact encoding possible.
If any non GSM-7 characters are included, your entire message will be encoded at UCS-2, which limits each message segment to 70 characters each. Calculate the message segment length and character count of your text message. Original Message. Message Details. Start Free Trial.
Message Breakdown. Regular 7bit character, present in GSM7 character set. Unicode character.
0コメント