TXT files use the
.txt filename extension for files consisting of text usually containing very little formatting (ex: no bolding or italics). The precise definition of the
.txt format is not specified, but typically matches the format accepted by the system terminal or simple text editor. Files with the
.txt extension can easily be read or opened by any program that reads text and, for that reason, are considered universal (or platform independent).
The ASCII character set is the most common format for English-language text files, and is generally assumed to be the default file format in many situations. For accented and other non-ASCII characters, it is necessary to choose a character encoding. In many systems, this is chosen on the basis of the default locale setting on the computer it is read on. Common character encodings include ISO 8859-1 for many European languages.
Because many encodings have only a limited repertoire of characters, they are often only usable to represent text in a limited subset of human languages. Unicode is an attempt to create a common standard for representing all known languages, and most known character sets are subsets of the very large Unicode character set. Although there are multiple character encodings available for Unicode, the most common is UTF-8, which has the advantage of being backwards-compatible with ASCII: that is, every ASCII text file is also a UTF-8 text file with identical meaning.
|This page uses Creative Commons Licensed content from Wikipedia (view authors).|