📄 rfc1896.ps
字号:
225 1547 860 (The text/enriched MIME type) 860 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font225 1681 1938 (In order to promote the wider interoperability of simple formatted text, this document defines an) 1938 SB225 1739 1856 (extremely simple subtype of the MIME content-type "text", the "text/enriched" subtype. The) 1856 SB225 1797 1884 (content-type line for this type may have one optional parameter, the "charset" parameter, with) 1884 SB225 1855 1334 (the same values permitted for the "text/plain" MIME content-type.) 1334 SB225 1963 1413 (The text/enriched subtype was designed to meet the following criteria:) 1413 SB375 2071 38 (1.) 38 SB450 2071 1639 (The syntax must be extremely simple to parse, so that even teletype-oriented mail) 1639 SB450 2129 1698 (systems can easily strip away the formatting information and leave only the readable) 1698 SB450 2187 88 (text.) 88 SB375 2295 38 (2.) 38 SB450 2295 1566 (The syntax must be extensible to allow for new formatting commands that are) 1566 SB450 2353 777 (deemed essential for some application.) 777 SB375 2461 38 (3.) 38 SB450 2461 626 (If the character set in use is AS) 626 SB1076 2461 1050 (CII or an 8-bit ASCII superset, then the raw form of) 1050 SB450 2519 1687 (the data must be readable enough to be largely unobjectionable in the event that it is) 1687 SB450 2577 1525 (displayed on the screen of the user of a non-MIME-conformant mail reader.) 1525 SB375 2685 38 (4.) 38 SB450 2685 1650 (The capabilities must be extremely limited, to ensure that it can represent no more) 1650 SB450 2743 1636 (than is likely to be representable by the user's primary word processor. While this) 1636 SB1 #Cstatusdict begin /manualfeed false store endEJ RS%%PageTrailer%%PageResources: font Courier%%+ font Times-Bold%%+ font Times-Roman%%Page: 2 2%%PageResources: (atend)SS0 0 25 11 798 1100 300 SM32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font0 0 0 fC225 269 207 (RFC 1896) 207 SB858 269 684 (text/enriched MIME Content-type) 684 SB1881 269 294 (February 1996) 294 SB225 2917 372 (Resnick & Walker) 372 SB1079 2917 276 (Informational) 276 SB2006 2917 127 ([Page ) 127 SB2133 2917 25 (2) 25 SB2158 2917 17 (]) 17 SB450 377 1660 (limits what can be sent, it increases the likelihood that what is sent can be properly) 1660 SB450 435 204 (displayed.) 204 SB225 543 1950 (There are other text formatting standards which meet some of these criteria. In particular, HTML) 1950 SB225 601 1873 (and SGML have come into widespread use on the Internet. However, there are two important) 1873 SB225 659 1904 (reasons that this document further promotes the use of text/enriched in Internet mail over other) 1904 SB225 717 306 (such standards:) 306 SB375 825 38 (1.) 38 SB450 825 1604 (Most MIME-aware Internet mail applications are already able to either properly) 1604 SB450 883 1620 (format text/enriched mail or, at the very least, are able to strip out the formatting) 1620 SB450 941 1682 (commands and display the readable text. The same is not true for HTML or SGML.) 1682 SB375 1049 38 (2.) 38 SB450 1049 1654 (The current RFC on HTML [RFC-1866] and Internet Drafts on SGML have many) 1654 SB450 1107 1696 (features which are not necessary for Internet mail, and are missing a few capabilities) 1696 SB450 1165 601 (that text/enriched already has.) 601 SB225 1273 1795 (For these reasons, this document is promoting the use of text/enriched until other Internet) 1795 SB225 1331 1904 (standards come into more widespread use. For those who will want to use HTML, Appendix B) 1904 SB225 1389 1855 (of this document contains a very simple C program that converts text/enriched to HTML 2.0) 1855 SB225 1447 514 (described in [RFC-1866].) 514 SB32 0 0 58 58 0 0 0 56 /Times-Bold /font29 ANSIFont font225 1553 170 (Syntax) 170 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font225 1676 1842 (The syntax of "text/enriched" is very simple. It represents text in a single character set--US-) 1842 SB225 1734 1906 (ASCII by default, although a different character set can be specified by the use of the "charset") 1906 SB225 1792 1946 (parameter. \(The semantics of text/enriched in non-ASCII character sets are discussed later in this) 1946 SB225 1850 1912 (document.\) All characters represent themselves, with the exception of the "<" character \(ASCII) 1912 SB225 1908 1938 (60\), which is used to mark the beginning of a formatting command. A literal less-than sign \("<"\)) 1938 SB225 1966 1262 (can be represented by a sequence of two such characters, "<<".) 1262 SB225 2074 1869 (Formatting instructions consist of formatting commands surrounded by angle brackets \("<>",) 1869 SB225 2132 1901 (ASCII 60 and 62\). Each formatting command may be no more than 60 characters in length, all) 1901 SB225 2190 1929 (in US-ASCII, restricted to the alphanumeric and hyphen \("-"\) characters. Formatting commands) 1929 SB225 2248 1921 (may be preceded by a solidus \("/", ASCII 47\), making them negations, and such negations must) 1921 SB225 2306 1761 (always exist to balance the initial opening commands. Thus, if the formatting command) 1761 SB225 2364 1881 ("<bold>" appears at some point, there must later be a "</bold>" to balance it. \(NOTE: The 60) 1881 SB225 2422 1875 (character limit on formatting commands does NOT include the "<", ">", or "/" characters that) 1875 SB225 2480 1907 (might be attached to such commands.\) Formatting commands are always case-insensitive. That) 1907 SB225 2538 1330 (is, "bold" and "BoLd" are equivalent in effect, if not in good taste.) 1330 SB1 #Cstatusdict begin /manualfeed false store endEJ RS%%PageTrailer%%PageResources: font Times-Bold%%+ font Times-Roman%%Page: 3 3%%PageResources: (atend)SS0 0 25 11 798 1100 300 SM32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font0 0 0 fC225 269 207 (RFC 1896) 207 SB858 269 684 (text/enriched MIME Content-type) 684 SB1881 269 294 (February 1996) 294 SB225 2917 372 (Resnick & Walker) 372 SB1079 2917 276 (Informational) 276 SB2006 2917 127 ([Page ) 127 SB2133 2917 25 (3) 25 SB2158 2917 17 (]) 17 SB32 0 0 58 58 0 0 0 56 /Times-Bold /font29 ANSIFont font225 375 411 (Line break rules) 411 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font225 498 1945 (Line breaks \(CRLF pairs in standard network representation\) are handled specially. In particular,) 1945 SB225 556 1895 (isolated CRLF pairs are translated into a single SPACE character. Sequences of N consecutive) 1895 SB225 614 1910 (CRLF pairs, however, are translated into N-1 actual line breaks. This permits long lines of data) 1910 SB225 672 1921 (to be represented in a natural looking manner despite the frequency of line-wrapping in Internet) 1921 SB225 730 1821 (mailers. When preparing the data for mail transport, isolated line breaks should be inserted) 1821 SB225 788 1894 (wherever necessary to keep each line shorter than 80 characters. When preparing such data for) 1894 SB225 846 1874 (presentation to the user, isolated line breaks should be replaced by a single SPACE character,) 1874 SB225 904 1638 (and N consecutive CRLF pairs should be presented to the user as N-1 line breaks.) 1638 SB225 1012 866 (Thus text/enriched data that looks like this:) 866 SB32 0 0 42 42 0 0 0 33 /Courier /font0 ANSIFont font375 1118 175 (This is) 175 SB375 1160 200 (a single) 200 SB375 1202 100 (line) 100 SB375 1286 275 (This is the) 275 SB375 1328 250 (next line.) 250 SB375 1454 275 (This is the) 275 SB375 1496 325 (next section.) 325 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font225 1632 1222 (should be displayed by a text/enriched interpreter as follows:) 1222 SB32 0 0 42 42 0 0 0 33 /Courier /font0 ANSIFont font375 1738 525 (This is a single line) 525 SB375 1780 550 (This is the next line.) 550 SB375 1864 625 (This is the next section.) 625 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font225 2000 1859 (The formatting commands, not all of which will be implemented by all implementations, are) 1859 SB225 2058 711 (described in the following sections.) 711 SB32 0 0 67 67 0 0 0 65 /Times-Bold /font29 ANSIFont font225 2164 674 (Formatting Commands) 674 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font225 2298 1741 (The text/enriched formatting commands all begin with <commandname> and end with) 1741 SB225 2356 1727 (</commandname>, affecting the formatting of the text between those two tokens. The) 1727 SB225 2414 1157 (commands are described here, grouped according to type.) 1157 SB32 0 0 58 58 0 0 0 56 /Times-Bold /font29 ANSIFont font225 2520 539 (Parameter Command) 539 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font225 2643 1938 (Some of the formatting commands may require one or more associated parameters. The "param") 1938 SB225 2701 1540 (command is a special formatting command used to include these parameters.) 1540 SB1 #Cstatusdict begin /manualfeed false store endEJ RS%%PageTrailer%%PageResources: font Courier%%+ font Times-Bold%%+ font Times-Roman%%Page: 4 4%%PageResources: (atend)SS0 0 25 11 798 1100 300 SM32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font0 0 0 fC225 269 207 (RFC 1896) 207 SB858 269 684 (text/enriched MIME Content-type) 684 SB1881 269 294 (February 1996) 294 SB225 2917 372 (Resnick & Walker) 372 SB1079 2917 276 (Informational) 276 SB2006 2917 127 ([Page ) 127 SB2133 2917 25 (4) 25 SB2158 2917 17 (]) 17 SB32 0 0 50 50 0 0 0 48 /Times-Bold /font29 ANSIFont font375 375 145 (Param) 145 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font525 438 1598 (Marks the affected text as command parameters, to be interpreted or ignored by) 1598 SB525 496 660 (the text/enriched interpreter, but ) 660 SB32 0 0 50 50 0 0 0 47 /Times-Italic /font31 ANSIFont font1185 494 64 (not) 64 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font1249 496 801 ( to be shown to the reader. The "param") 801 SB525 555 1615 (command always immediately follows some other formatting command, and the) 1615 SB525 613 1624 (parameter data indicates some additional information about the formatting that is) 1624 SB525 671 1525 (to be done. The syntax of the parameter data \(whatever appears between the) 1525 SB525 729 1614 (initial "<param>" and the terminating "</param>"\) is defined for each command) 1614 SB525 787 1605 (that uses it. However, it is always required that the format of such data must not) 1605 SB525 845 1591 (contain nested "param" commands, and either must not use the "<" character or) 1591 SB525 903 1641 (must use it in a way that is compatible with text/enriched parsing. That is, the end) 1641 SB525 961 1512 (of the parameter data should be recognizable with either of two algorithms:) 1512 SB525 1019 1470 (simply searching for the first occurrence of "</param>" or parsing until a) 1470 SB525 1077 1602 (balanced "</param>" command is found. In either case, however, the parameter) 1602 SB525 1135 935 (data should not be shown to the human reader.) 935 SB32 0 0 58 58 0 0 0 56 /Times-Bold /font29 ANSIFont font225 1241 686 (Font-Alteration Commands) 686 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font225 1364 1936 (The following formatting commands are intended to alter the font in which text is displayed, but) 1936 SB225 1422 1172 (not to alter the indentation or justification state of the text:) 1172 SB32 0 0 50 50 0 0 0 48 /Times-Bold /font29 ANSIFont font375 1528 100 (Bold) 100 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font525 1591 1536 (causes the affected text to be in a bold font. Nested bold commands have the) 1536 SB525 1649 775 (same effect as a single bold command.) 775 SB32 0 0 50 50 0 0 0 48 /Times-Bold /font29 ANSIFont font375 1755 111 (Italic) 111 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font525 1818 1583 (causes the affected text to be in an italic font. Nested italic commands have the) 1583 SB525 1876 786 (same effect as a single italic command.) 786 SB32 0 0 50 50 0 0 0 48 /Times-Bold /font29 ANSIFont font375 1982 214 (Underline) 214 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font525 2045 1580 (causes the affected text to be underlined. Nested underline commands have the) 1580 SB525 2103 875 (same effect as a single underline command.) 875 SB32 0 0 50 50 0 0 0 48 /Times-Bold /font29 ANSIFont font375 2209 120 (Fixed) 120 SB32 0 0 50 50 0 0 0 45 /Times-Roman /font32 ANSIFont font525 2272 1617 (causes the affected text to be in a fixed width font. Nested fixed commands have) 1617 SB525 2330 863 (the same effect as a single fixed command.) 863 SB32 0 0 50 50 0 0 0 48 /Times-Bold /font29 ANSIFont font
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -