Network Working Group D. Robinson
Request for Comments: 1154 R. Ullmann
Prime Computer, Inc.
April 1990
Encoding Header Field for Internet Messages
1. Status of the Memo
This RFC proposes an elective experimental Encoding header field to permit the mailing of multi-part, multi-structured messages.
2. Introduction
RFC 822 [2] defines an electronic mail message to consist of two parts, the message header and the message body, separated by an apparently blank line.
3.1. Format of the Encoding Field
The format of the Encoding field is:
Robinson & Ullmann [Page 1]
RFC 1154 Encoding Header Field for Internet Messages April 1990
[<count> <keyword> [<options>], ]* [<count>] <keyword> [<options>]
3.2. <count>
The line count is a decimal number specifying the number of text lines in the part. Parts are separated by a blank line, which is not included in the count of either the proceeding or following part. Because a count always begins with a digit and a keywords always begins with an letter, it is always possible to determine if the count is present. (The count is first because it is the only information of interest when skipping over the part.)
3.3. <keyword>
The keyword defines the encoding type. The keyword is a common single word name for the encoding type. The keywords are not case- sensitive.
3.4. <options>
The optional information is used to specify additional keyword- specific information needed for interpreting the contents of the encoded part. It is any sequence of tokens not containing a comma.
3.5. Encoding Version Numbers
In general, version numbers for encodings, when not actually available within the contents of the encoded information, will be handled as options.
3.6. Comments
Comments enclosed in parentheses may, of course, be inserted anywhere in the Encoding field. Mail reading systems may pass the comments to their clients. Comments must not be used by mail reading systems for content interpretation; that is the function of options.
Robinson & Ullmann [Page 2]
RFC 1154 Encoding Header Field for Internet Messages April 1990 4. EncodingsThis section describes some of the defined encodings used.
4.1. Text
This indicates that the message is in no particular encoded format, but is to be presented to the user as is.
Robinson & Ullmann [Page 3]
RFC 1154 Encoding Header Field for Internet Messages April 1990 4.2. MessageThis encoding indicates that the body part is itself in the format of an Internet message, with its own header part and body part(s). A "message" body part's message header may be a full internet message header or it may consist only of an Encoding field.
4.3. Hex
The encoding indicates that the body part contains binary data, encoded as 2 hexadecimal digits per byte, highest significant nibble first.
4.4. EVFU
EVFU (Electronic Vertical Format Unit) specifies that each line begins with a one-character "channel selector". The original purpose was to select a channel on a paper tape loop controlling the printer.
Robinson & Ullmann [Page 4]
RFC 1154 Encoding Header Field for Internet Messages April 1990 4.5. EDIThe EDI (Electronic Document Interchange) keyword indicates that the message or part is a business document, formatted according to ANSI X12 or related standards.
4.6. X.400
The Encoding header field provides a mechanism for mapping multi-part messages between CCITT X.400 [1] and RFC 822.
4.7. uuencode
The uuencode keyword specifies a section consisting of the output of the uuencode program supplied as part of uucp.
4.8. encrypted
The encrypted keyword indicates that the section is encrypted with the methods in RFC 1115 [8]. This replaces the possible use of RFC 934 [5] encapsulation.
Robinson & Ullmann [Page 5]
RFC 1154 Encoding Header Field for Internet Messages April 1990
[2] Crocker, D., "Standard for the Format of ARPA Internet Text
Robinson & Ullmann [Page 6]
RFC 1154 Encoding Header Field for Internet Messages April 1990
Email: Ariel@Relay.Prime.COM