GSM 7bit alphabet and message characters count

Smpp v3.4 client

Moderator: alt

Locked
FedorChe
Posts: 1
Joined: Sat Jul 11, 2009 6:45 am

GSM 7bit alphabet and message characters count

Post by FedorChe » Sat Jul 11, 2009 7:04 am

Hello! It seems that I have found a serious problem in your library.
According to SMPP v3.4 Protocol Implementation guide for GSM / UMTS, when the data_coding is set to SMSCDefault, the ESME shoud pass message text in one of the following encodings:
- SMSC default alphabet (7/8 bits)
- Latin 1 (8-bits)
- UCS2 (16-bits)
- Binary (8-bits)
And SMSC can pass messages to mobile terminal in one of the following encodings:
GSM default alphabet (7 bit)
USC2 (unicode)

In GSM default alphabet (http://www.dreamfabric.com/sms/default_alphabet.html) some characters: ^ ~ [ ] { } are encoded with usage of escape character. For example, tilde (~) is encoded as 0x1B3D.
Try to type a message on your mobile and you'll see that for these characters the characters counter is increased by 2.
So, when we submit a message to SMSC, even in Latin encoding, we must take this into account - we must count these characters as 2 "normal" characters to split long messages correctly.
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Sat Jul 18, 2009 3:39 pm

I think you are right.
I've improved PrepareSubmit method in version 2.6.2
Please test it.
racheliya
Posts: 3
Joined: Thu Aug 06, 2009 7:38 am

Post by racheliya » Sat Aug 08, 2009 10:25 am

Can I use a GSM phone in both the US and Italy? I'm going to be switching cell phone services soon and need advice. I have Verizon but plan on switching to Tmobile or Cingular. I was wondering if I bought an unlocked gsm phone, could I use it here in the US and then buy a prepaid sim card in italy and just switch cards?
_______________
market samurai ~ marketsamurai ~ marketsamurai.com
Locked