GSM Character Set

SMS messages use a different character set to standard ASCII.

Characters are 7bits and packed into 140 bytes, giving you up to 160 characters (7 x 160 = 1120 bits, 1120 / 8 bits per byte = 140 bytes).

Conversion to and from various ASCII characters needs to be performed in code when handling SMS messages at the GSM encoded level. An extended character set is also available, but it uses 2 characters per extended character meaning that SMS messages using it can only have up to 80 characters.

GSM Character Set Tables

https://www.clockworksms.com/blog/the-gsm-character-set/

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.

Comments

Your email address will not be published. Required fields are marked *