On 3/13/07, Iain Dooley <[EMAIL PROTECTED]> wrote:

> Your Welcome, by the way the 144 count somebody told you is wrong.
>
> Just for reference SMS is 140 Bytes, and 7 bit text is packed into those
> bytes meaning we can fit 160 characters in.

okay great thanks, i never knew.

Just for additional information, SMS is 140 bytes if coded 8 bit, 70
bytes/octets if coded Unicode (UCS2).

160 GSM 7 bit alphabet is counted.... by (140*8)/7...., so 160 is
number of septet not octet when using GSM 7 bit alphabet.


> The UDH for a concat message takes 6 bytes leaving 134 bytes to contain the
> message, which means you can pack 153 7 bit characters in.

so then i should divide total characters by 153 when billing for multi
part messages?

When using 8 bit data, then yes, you only have 134 octets.
When using 7 bit (GSM 7 bit alphabet) you will have (134 * 8)/7 =
153.14 = 153 chars.

Yes you will ne divide total chars by 153, create appropriate seq.
number for each part of long SMS, count how many parts of long SMS.

Better you read GSM 03.40 :)



> If you using 16 bit characters (UCS-2 encoding) you can get 67 characters in
> (which you might also need to know for your billing system).

not yet! but i'll keep it in my sms fact file for future reference :)

cheers

iain



Reply via email to