[Issue 9776] Make raw write mode the default

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 8 17:46:27 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=9776

--- Comment #10 from Nick Sabalausky <bus_dbugzilla at semitwist.com> ---
As already said before, windows notepad is the *only program that doesn't
handle it (which makes it very *unlike* '/' if indeed "many programs" fail to
deal with properly - which is an exaggeration anyway, but that's beside the
point). If I'm wrong and \n is indeed poorly supported on Windows, then it
should be a simple matter to go ahead and name other examples.

Contrast that to the "\r\r\n" that D code is demonstrably prone to emitting on
Windows, which is handled correctly by little, if anything, on any OS. The
safer behavior is clear, and the consensus of the discussion was the same.

Stubborn clingage to false information and misplaced fears is not befitting of
D.

--


More information about the Digitalmars-d-bugs mailing list