service features
alfabeto GSM
Un messaggio SMS, così come specificato nei documenti GSM 03.40 e GSM 03.38, può essere lungo sino a 160 caratteri. Ogni carattere è codificato con 7 bit e fa parte di un set ristretto di 127 caratteri detto alfabeto di default a 7 bit.Nel documento pdf allegato è visibile la mappa di tutti i caratteri utilizzabili.
SmsHosting.it supporta l'intero alfabeto GSM 7bit.
Dal documento è possibile notare che alcuni caratteri occupano in realtà lo spazio di 2 caratteri. Per evitare troncamenti se la lunghezza totale del messaggio non consente di inviare i caratteri originali smsHosting provvede a fare una sostituzione con caratteri "simili" che occupano 1 solo carattere.
| Hex | Dec | Character name | Character | Sobstitution |
| 0x1B14 | 27 20 | CIRCUMFLEX ACCENT | ^ | Λ (lambda) |
| 0x1B28 | 27 40 | LEFT CURLY BRACKET | { | ( |
| 0x1B29 | 27 41 | RIGHT CURLY BRACKET | } | ) |
| 0x1B2F | 27 47 | REVERSE SOLIDUS (BACKSLASH) | \ | / |
| 0x1B3C | 27 60 | LEFT SQUARE BRACKET | [ | ( |
| 0x1B3D | 27 61 | TILDE | ~ | - |
| 0x1B3E | 27 62 | RIGHT SQUARE BRACKET | ] | ) |
| 0x1B40 | 27 64 | VERTICAL BAR | | | I |
| 0x1B65 | 27 101 | EURO SIGN | € | E |
Nel caso quindi, ad esempio, di un messaggio di 50 caratteri contenente "{testo}" l'sms inviato conterrà effettivamente il testo "{testo}".
Se lo stesso frammento "{testo}" è invece inserito in un sms di 160 caratteri questo verrà sostituito con "(testo)" per evitare il troncamento di 2 caratteri.
La lunghezza effettiva in questo caso sarebbe infatti 162 = 158 caratteri normali + 2 caratteri da 2;
