InnerWeb
Skip to main content

7-bit SMS in the plant system: implementation notes

In the 7-bit GSM 03.38 encoding one SMS segment holds 160 characters, while in the 8-bit encoding only 70. A single Polish diacritic can switch the whole message to the shorter encoding and double the cost of the invitation campaign. Below are the implementation notes: encoding, length, transliteration and the warnings in the register.

160 and 70
characters per SMS segment in the 7-bit and 8-bit encodings
2x
increase in campaign cost when the encoding switches, sample calculation
Source: sample calculation from the cost section

Why the encoding decides the cost

An SMS is sent in the 7-bit GSM 03.38 encoding, in which one segment holds 160 characters, while in the 8-bit encoding only 70. The difference is more than twofold. A message of 120 characters fits into one segment in the first encoding, and takes two segments in the second.

The operator charges per segment. A plant launching an invitation campaign for several hundred people can therefore pay double without any change in the number of messages, if the text contains a character outside the GSM alphabet.

Sample calculation of campaign cost

Assumptions: 500 SMS invitations, a text of 120 characters, an operator rate of 0.10 PLN per segment (illustrative assumption, not an offer). In the 7-bit encoding: 500 times 1 segment times 0.10 PLN gives 50 PLN. In the 8-bit encoding: 500 times 2 segments times 0.10 PLN gives 100 PLN. The difference is 50 PLN on one campaign, and the increase is twofold.

Transliteration instead of Polish characters

The SMS text is transliterated into the GSM 03.38 alphabet, because a single Polish diacritic would switch the whole message to the 70-character encoding. In practice this means that you will not see diacritics in the SMS text, and the message remains readable for the recipient.

Implementation note: SMS templates created by hand by the plant administrator are best written without Polish characters from the start. This way the preview matches what will be sent, and the character count is correct.

Cost of a campaign of 500 SMS with 120 characters each, assumed rate 0.10 PLN per segment

Cost of a campaign of 500 SMS with 120 characters each, assumed rate 0.10 PLN per segmentBefore and after chart: 50 PLN in the 7-bit encoding and 100 PLN in the 8-bit encoding.020406080100PLN7-bit encoding: Campaign of 500 SMS: 50 PLN50 PLN7-bit encoding8-bit encoding: Campaign of 500 SMS: 100 PLN100 PLN8-bit encoding
Source: Sample calculation on the assumptions from the cost section; illustrative rate

A warning instead of silent cost multiplication

A message longer than one segment leaves a warning in the register, instead of silently multiplying the cost. The administrator therefore sees that a template needs shortening before the campaign goes to the whole list.

Good practice: before each campaign we review in the register a test send to a few test accounts. An entry with a warning about several segments means going back to the template, not ignoring the signal.

Short link with a token

The SMS with activation carries a short link with a 16-character token, which leads to the same screen as the long link from an e-mail. The short link saves characters, and in a campaign it means more room for content in one segment.

The short link must be publicly accessible in the security configuration, because its recipient does not yet have a session. An automatic test checks this for every link sent to people without an account. When the firewall or proxy configuration changes, IT should check that the short link path is still reachable from outside.

SMS stored on the phone

The SMS is sent as a message stored on the phone, not as a one-time flash message, because the recipient must be able to click the link again. It is worth mentioning this in the message for contractors: the message does not disappear, and it can be returned to at the gate or after the training.

This choice has consequences for the content. Since the SMS stays on the phone, it should not contain sensitive data. The plant name, a short instruction and the link are enough.

Checklist for the SMS implementation

Before the campaign starts, the IT and safety teams check several points.

  • Template without Polish characters and up to 160 characters.
  • Test send to test accounts and a check of the register for warnings.
  • Availability of the short link from an external network, without a session.
  • Operator rate per segment and calculation of the campaign cost.
  • Content without sensitive data, because the message stays on the phone.

Video

Frequently asked questions

Why are there no Polish characters in the SMS?

A single diacritic would switch the whole message to the 70-character encoding and double the number of segments, so the text is transliterated into the GSM 03.38 alphabet.

How do I know a message has too many segments?

A message longer than one segment leaves a warning in the register.

Does the SMS disappear from the phone after reading?

No. It is sent as a message stored on the phone, so the recipient can click the link again.

Sources

Check your SMS templates

We will review the invitation texts for length and encoding, and calculate the campaign cost before it starts.

Let's talk