Text Editor - Plain Text Files Vs. Word Processor Files

Plain Text Files Vs. Word Processor Files

There are important differences between plain text files created by a text editor, and document files created by word processors such as Microsoft Word, WordPerfect, or OpenOffice.org.

  • A plain text file uses a simple character set such as ASCII to represent numbers, letters, and a small number of symbols. The only non-printing characters in the file, usable to format the text, are newline, tab, and formfeed.
  • Word processor documents generally contain formatted text, adding content that enables text to appear in boldface and italics, to use multiple fonts, and to be structured into columns and tables. These capabilities were once associated only with desktop publishing, but are now common in the simplest word processor. Web pages add HTML tags to plain text to achieve formatting.

Word processors were developed to aid in formatting text for presentation on a printed page, while text editors treat text as data.

When both formats are available, the user must select with care. Saving a plain text file in a word-processor format will add formatting information that could disturb the machine-readability of the text. Saving a word-processor document as a text file will lose formatting information.

Read more about this topic:  Text Editor

Famous quotes containing the words plain, text, files and/or word:

    Take back the beauty and wit you bestow upon me; leave me my own mediocrity of agreeableness and genius, but leave me also my sincerity, my constancy, and my plain dealing; ‘tis all I have to recommend me to the esteem either of others or myself.
    Mary Wortley, Lady Montagu (1689–1762)

    There’s a great text in Galatians,
    Once you trip on it, entails
    Twenty-nine distinct damnations,
    One sure, if another fails:
    Robert Browning (1812–1889)

    Here files of pins extend their shining rows,
    Puffs, powders, patches, bibles, billet-doux.
    Alexander Pope (1688–1744)

    Every living language, like the perspiring bodies of living creatures, is in perpetual motion and alteration; some words go off, and become obsolete; others are taken in, and by degrees grow into common use; or the same word is inverted to a new sense or notion, which in tract of time makes an observable change in the air and features of a language, as age makes in the lines and mien of a face.
    Richard Bentley (1662–1742)