TXT Format Description
Text file is a form of presentation of succession of
characters in computer corresponding to
MIME type «text/plain».
Every character belonging to exploitable set of characters is coded as one bite
but sometimes as a succession of two, three etc. bites, coming one by one.
Text files are broken into several lines. In modern
platforms fragmentation into lines is coded by control character of line
shifting and sometimes with a succession of two control characters (in some old
platforms line fragmentation was done in another way). Generally text files may
contain printing characters such as letters, numbers and punctuation marks as
well as a certain number of control characters such as tabulation and line
Text files are opposed to binary files where information
is coded according to other principles.
The majority of computer devices and programs don't
differentiate text and binary files. Nevertheless there is a great number of
programs designed specially for text files processing or for those programs that
process text and binary files in different ways. Many network protocols are
assigned for work with text files only and can not process arbitrary succession
of bites. Programs for text files hand setting are called editors.
In Windows expansion «txt»
is used for text files,
nevertheless many files with other expansions can be text as well. E.g. initial
codes are generally kept in files with those expansions that correspond to the
programming language that was used for writing the program. File expansions are
Sample of a text file opened in editor