help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support or warn on DOS type EOL ...


From: Hans-Bernhard Broeker
Subject: Re: Support or warn on DOS type EOL ...
Date: Fri, 1 Mar 2002 13:49:21 +0100 (MET)

On Thu, 28 Feb 2002, Jamie Risk wrote:

[...]
> won't work (i.e. "Hi!" _never_ gets printed) if the eol's are "\n\r". 

A side note first: "\n\r" is not a "DOS type EOL".  That would be "\r\n".

And of course, the "correct" solution would be not to transfer text files
to a different type of platform as binaries, in the first place.  That
hasn't ever worked reliably, and probably never will.

DOS vs. Unix line endings is only one aspect of the problem, so there's
not much point fixing this while leaving lots of others unhandled.  From
the more crazy ones like the EBCDIC charset, to the various, sometime
platform-specific national-language character sets all squeezed into the
same 256 positions of an 8 bit table (ISO-8859-*, MS "codepages", ...), to
Unicode in its various personalities, and beyond.

-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]