top | item 19360962

(no title)

jokh | 7 years ago

Why doesn't Windows drop the purported compatibility with CP/M and get rid of control-z being a special file marker at this point? Lots of legacy code relying on it?

discuss

order

Arnavion|7 years ago

FWIW it's generally advised to not open files in text mode on Windows anyway. The handling of \x1A is one reason. The automatic mangling of newlines into Windows newlines is another.

Edit: And while cmd's type does process it, modern stuff like PS's Get-Content does not.

Thorrez|7 years ago

Someone could even write new code that relies on it.