I've tried send u'Привет мир!\n'*10 got 4 part message.
But result correct is fit two parts.
Constants
UCS2_SIZE = 70
UCS2_MP_SIZE = UCS2_SIZE - 3
>>> import smpplib.gsm
>>> text = u'Привет мир!\n'*10
>>> len(text)
120
>>> 120 / (70 - 3)
1.791044776119403
>>> parts, encoding_flag, msg_type_flag = smpplib.gsm.make_parts(text)
>>> len(parts)
4
Looks like it is a result of encoded text is more long.
I've tried send
u'Привет мир!\n'*10got 4 part message.But result correct is fit two parts.
Constants
Looks like it is a result of encoded text is more long.