~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


Binary and text files - Wikipedia

<<Up     Contents

Binary and text files

Redirected from Text file

Computer files can be divided into two broad category: binary and text. The distinction is subtle because to computers, any file is a sequence of digital bits.

Text files are files with a one-to-one correspondence between the bytes and ordinary readable characters such as letters and digits. Therefore any simple program to view a file makes them human-readable. Generally, they contain ASCII characters and some control characters such as tabs[?], line feeds and carriage returns without any embedded information such as font information, hyperlinks or inline images. But sometimes text files contain more than ASCII characters if they are encoded by East-Asian encoding such as SJIS[?] or unicode. If the files are written in unicode, a UTF[?] standard such as UTF-8 defines the encoding format. Although text files are generally human-readable, they can of course be used for data storage by computer programs. This may be done because text files avoid problems which may arise with binary files, such as problems of endianess[?] or the byte-length of integers.

Text files can have the MIME type "text/plain", often with suffixes indicating an encoding. Common encodings for plain text include Unicode UTF-8, Unicode UTF-16, ISO 8859, and ASCII.

Transferring text files between Unix, Macintosh, and Microsoft Windows or DOS computers can be problematical, as each platform uses different characters to signify a line break. See new line for a discussion of this confusion.

Binary files in turn are usually identified with a number of unrecognisable characters. Computer programs are typical examples. As a result, compiled applications are often simply referred to as binaries, as opposed to source code, which is contained in text files. But binary files can also be image files, sound files, compressed files; basically any file other than text file. Usually the specification of a binary file's file format indicates how to handle that file.

wikipedia.org dumped 2003-03-17 with terodump




 
 
11 grams orange pink BOTSWANA AGATE gem stone tumble polished cab lapidary rough jewelry gemstone
 11 grams orange pink BOTSWANA AGATE tumble polished cab lapidary jewelry  
 
25 carats CHRYSOBERYL gems stones Facet uncut raw rough gemstones crystals lot 2 to 3 ct jewels Nice
 25 carats CHRYSOBERYL uncut raw crystals lot 2 to 3 ct jewels Nice 
 
14 gram red blue gold PIETERSITE gem stone Tumbled cab cabbing rough raw gemstone 73 carat PRETTY
 14 gram red blue gold PIETERSITE Tumbled cab cabbing raw 73 carat PRETTY 
 
137 carats gray AGATE gem Polished slab rectangle block Cabbing cab cabochon rough gemstone 27 grams
 137 carats gray AGATE Polished slab rectangle block Cabbing cab cabochon 27 grams 
 
245 carats gray AGATE gem Polished cut slab square block Cabbing cab cabochon rough gemstone 49 gram
 245 carats gray AGATE Polished cut slab square block Cabbing cab cabochon 49 gram