On Thu, 2002-10-31 at 22:18, Oded Arbel wrote:
> 
> > -----Original Message-----
> > From: Alan McNatty [mailto:alan@;catalyst.net.nz]
> 
> > 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.



Reply via email to