On Thu, 2002-10-31 at 00:15, Oded Arbel wrote:
> 
> > -----Original Message-----
> > From: Alan McNatty [mailto:alan@;catalyst.net.nz]
> 
> > > and how do you know that the last char is a null ? I don't 
> > think it is.
> > Just a guess - I have \0 at the end of each message comming through
> > without doing the ocstr_truncate on last char. Or does this sound like
> > smsc weirdness?
> 
> Yes.. :-/ actually it does.

The null character is apparently optional and can go away easily so
that's not a problem. The subsequent sms push problem I was having was a
user issued involving experimental coding parameters ...

Oded, are you suggesting that gsm_to_latin1 conversion take place only
when data_coding == 0x01 or when != 0x01 (Am I readin the specs wrong or
0x01 Ascii?). ie:


     if (  pdu->u.deliver_sm.data_coding == 0x01 )
       charset_gsm_to_latin1(msg->sms.msgdata);


Reply via email to