RE: SMPP: data_coding (deliver_sm)

Alan McNatty <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1036057890.1120.244.camel@terpsichore>
On Thu, 2002-10-31 at 22:18, Oded Arbel wrote:
> 
> > -----Original Message-----
> > From: Alan McNatty [mailto:[email protected]]
> 
> > 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. 
> 
> I'm not sure that tryig to detect if it exists before truncating the string is a good idea - 
> what if someone sends binary content that ends with a 0 byte ?

Sorry I was unclear - the SMSC is appending a null to the end of each
message. Apparently this is a configurable option with SMSC so they can
turn it off (hence it will go away). No code change required.
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.