June 23, 2016 at 7:10 pm #20944
atnak
Participant
Some old programs need the EOF character (0x1a),
That’s something I never knew of! Thanks for the explanation.
Regards,
P.S.
I did some searching on this mysterious 0x1A character that I’ll share here in case someone else is interested.
- “Some early disk operating systems like CP/M actually did use a physical 0x1A (ASCII SUB character) to indicate EOF” — http://stackoverflow.com/a/3061174/1036728
- “There was a long long time ago an End Of File marker but it hasn’t been used in files for many years.” — http://stackoverflow.com/a/24992477/1036728
- “I encountered a couple of text files with a trailing ^Z back in the days of DOS 3” — http://www.nntp.perl.org/group/perl.perl5.porters/2013/05/msg202401.html