Skip to content
WirebirdTalk to sales

GSM-7 encoding

GSM-7 is the default 7-bit character set for SMS. Messages that stay inside it fit 160 characters per segment, while any character outside it forces the slower-filling Unicode encoding.

Also called GSM 03.38, GSM-7 character set

In practice

GSM-7 covers the basic Latin alphabet, digits, common punctuation and a handful of accented letters and symbols. It is defined in the 3GPP specification for SMS alphabets.

A few characters, including the euro sign, square and curly brackets, the backslash, the tilde and the pipe, sit in an extension table and take two character slots each. Characters that are not in GSM-7 at all, such as emoji, curly quotes copied from a word processor and many non-Latin scripts, switch the entire message to UCS-2, which fits 70 characters per segment.

Platforms can save customers money by normalizing smart quotes and dashes to plain equivalents before sending, and by showing a live segment count in the composer.

Sources

Back to the glossary

Rather not handle this yourself?

Wirebird runs registration, caller ID and compliance for every business on your platform.