Florian Le Roy wrote: > my MessHeader subject value is *Delivery Final Failure Notice#0 > > *this #0 at end of string causes some undesirable effects in my code. > > So, my question is : > > Is this #0 normal ?
Yes. It is most likely caused by a bug/feature of the client sending the message. The "null byte" denotes the normal "end-of-string" in C (if I remember correctly, I'm not too fluent in C). > If yes, can I delete it ? Yes, on my opinion you can delete it - I'd say that the bug is on the sending client. > If no, how to remove it ? I think that no matter what language the client has been coded in, the null byte should not really be passed to the output string - however, it is there; doing a Base64 decode using any method shows that. -- Markku Uttula ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
