> > 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? Heuristics may lead to unwanted data mangling... --Vladimir