On Thursday 16 September 2010 18:38, Vladimir Dronnikov wrote:
> >
> > Better to always accept both \n and \r\n as valid
> 
> How to distinguish \r being a part _of the real data_ from \r being a
> part of CRNL then?

Similar question: "How to distinguish \r\n being a part of the real data
from \r\n being a part of CRNL?"

Answer to both: no way to do that. Email was not designed to be
a binary-transparent protocol. That's why uuenciode and base64
were invented.

Therefore stripping all \r which are directly followed by \n
is not going to create problems.

-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to