Re: several sms-es needed by smsd when using special characters in outbound message

Daniele Forsi <[email protected]>
Newsgroups gmane.linux.drivers.gnokii
Message-ID <CAN_we7P6m+WdwosQ+_WaVCd-B=6Bn9HP4AkUDn-nWHFpDMVmLw@mail.gmail.com>
2012/11/22 alonso acuña:
> Note the debug output below. If I send a message that contains an "á". It
> takes 3 sms to send it. But it can be sent in one when using "a". Of the 3
> resulting sms only one contains the special character but all of them are
> sent with UCS-2. I wonder if this is the expected behaviour

it is expected since libgnokii uses one single buffer and converts it at once

> and whether
> there is something I could do to reduce the amount of sms needed (besides
> not using special chars).

if the received message is to be displayed on a standard phone there's
nothing you can do with the current libgnokii, I don't know if
compression could help but it isn't implemented in libgnokii

AFAICT the standard doesn't allow for different encoding in each part
because we would need to change TP-DCS, but it says:

"The TP elements in the SMS-SUBMIT PDU, apart from TP-MR, TP-SRR,
TP-UDL and TP-UD, should remain unchanged for each SM which forms part
of a concatenated SM, otherwise this may lead to irrational
behaviour."

ETSI TS 123 040 V10.0.0 (2011-04) section 9.2.3.24.1 Concatenated Short Messages

-- 
Daniele Forsi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.