I have a program that sends data via an email attachment, the file data is
encoded into ascii text (ie all characters are ASCII and the whole range can be
used) and contains CRLF between the lines of data.
Sending and receiving is done via standard email programs, so the
encoding/decoding is not done by me.
When the file is received and the attachment saved, I have noticed an oddity –
if a line in the sent data occasionally happens to start with a full-stop “.”
(ie immediately after the CRLF) then at the other end there appears two
full-stops instead of one. Otherwise the attachment arrives the same as sent.
Anyone have ideas why this happens and how to get around this? eg I am
wondering if I should replace the CRLF characters with something else so the
encoding does not treat it as text.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with
Subject: unsubscribe