Cerveza

Páginas: 5 (1208 palabras) Publicado: 9 de marzo de 2013
Text file
From Wikipedia, the free encyclopedia
For texting language, see SMS language.


A stylized iconic depiction of a CSV-formatted text file.
A text file (sometimes spelled "textfile": an old alternate name is "flatfile") is a kind of computer file that is structured as a sequence of lines of electronic text. A text file exists within a computer file system. The end of a text file isoften denoted by placing one or more special characters, known as an end-of-file marker, after the last line in a text file.
"Text file" refers to a type of container, while plain text refers to a type of content. Text files can contain plain text, but they are not limited to such.
At a generic level of description, there are two kinds of computer files: text files and binary files.[1]
Contents[hide]
1 Data storage
2 Formats
2.1 ASCII
2.2 UTF-8
2.3 MIME
2.4 .TXT
2.5 .TEXT
2.6 Standard Windows .txt files
3 Standardisation
4 Rendering
5 See also
6 Notes and references
7 External links
[edit]Data storage

Because of their simplicity, text files are commonly used for storage of information. They avoid some of the problems encountered with other file formats, such asendianness, padding bytes, or differences in the number of bytes in a machine word. Further, when data corruption occurs in a text file, it is often easier to recover and continue processing the remaining contents. A disadvantage of text files is that they usually have a low entropy, meaning that the information occupies more storage than is strictly necessary.
A simple text file needs no additionalmetadata to assist the reader in interpretation, and therefore may contain no data at all, which is a case of zero byte file.
[edit]Formats

[edit]ASCII
The ASCII standard allows ASCII-only text files (unlike most other file types) to be freely interchanged and readable on Unix, Macintosh, Microsoft Windows, DOS, and other systems. These differ in their preferred line ending convention andtheir interpretation of values outside the ASCII range (their character encoding).
[edit]UTF-8
In English context text files can be uniquely ASCII, when in an international context text files are usually 8 bits permissive allowing storage of native texts.
In those international context, a Byte Order Mark can appear in start of file to differentiate UTF-8 encoding from legacy regional encoding.[2][edit]MIME
Text files usually have the MIME type "text/plain", usually with additional information indicating an encoding. Prior to the advent of Mac OS X, the Mac OS system regarded the content of a file (the data fork) to be a text file when its resource fork indicated that the type of the file was "TEXT". Under the Microsoft Windows operating system, a file is regarded as a text file if thesuffix of the name of the file (the "extension") is "txt". However, many other suffixes are used for text files with specific purposes. For example, source code for computer programs is usually kept in text files that have file name suffixes indicating the programming language in which the source is written.
[edit].TXT
.txt is a file format for files consisting of text usually containing verylittle formatting (e.g., 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 commonformat 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...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • La cerveza
  • La cerveza
  • La cerveza
  • CERVEZA
  • cerveza
  • cerveza
  • CERVEZA
  • La cerveza

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS