Question Locked

File Format - txt

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Just as .pdf has a unique ASCII file identifier "ASCII: %PDF-1", can someone tell me what's the unique ASCII file identifier for .txt files?

4 replies

by ic-it

It appears that a txt file just starts off with the first ASCII character. No file header like a Jpg or pdf.

by dr dij

nothing but the 'text' in a text file.
they can have CR or CRLF at end of lines

or they can also have no line end in files creatd by some progs.

some progs that read them won't grab last record unless there is a line terminator

This discussion is closed to new replies.