Strange behavior with messages with lenght greater than 160(default encoding)

Post Reply
abrdeco2
Posts: 2
Joined: Tue Jan 18, 2022 11:02 pm

Strange behavior with messages with lenght greater than 160(default encoding)

Post by abrdeco2 » Tue Jan 18, 2022 11:08 pm

Hello all!

When I send an message to my system up to 160 characters in lenght everything works fine, bet when the message is greater like 161 it splits into the message with 153 characters.

Can anyone tell me if this behavior is normal ?

I´m using the release 2.9.15 and saw an old bug that was solved in the previous version 1.x.

Thanks,
André
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Strange behavior with messages with lenght greater than 160(default encoding)

Post by alt » Wed Jan 19, 2022 12:45 pm

Hello André,

It should be normal. User data header for concatenation takes 6 octets in the short_message field. Possible one of the character in your text takes two octets, therefore 153 instead of 154. Or you use 16-bit reference number.

Could you post an example for this case? Which code do you use and which text.
Post Reply