Fix case when message in GSM and SMS footer in unicode

In addition to #162