Network Working Group N. Borenstein
Request for Comments: 1563 Bellcore
Obsoletes: 1523 January 1994
Category: Informational
The text/enriched MIME Content-type
Borenstein [Page 1]
RFC 1563 A text/enriched type for MIME January 1994
The Text/enriched MIME type
Borenstein [Page 2]
RFC 1563 A text/enriched type for MIME January 1994
Formatting commands are always case-insensitive. That is, "bold" and "BoLd" are equivalent in effect, if not in good taste.
Borenstein [Page 3]
RFC 1563 A text/enriched type for MIME January 1994
Formatting Commands
Borenstein [Page 4]
RFC 1563 A text/enriched type for MIME January 1994
Fill/Justification Commands
Borenstein [Page 5]
RFC 1563 A text/enriched type for MIME January 1994
Indentation Commands
Borenstein [Page 6]
RFC 1563 A text/enriched type for MIME January 1994
Param -- Marks the affected text as command parameters, to be
Borenstein [Page 7]
RFC 1563 A text/enriched type for MIME January 1994
Unrecognized formatting commands
Borenstein [Page 8]
RFC 1563 A text/enriched type for MIME January 1994
The question of what to do for hypothetical future character sets that do NOT subsume ASCII is not addressed in this memo.
Borenstein [Page 9]
RFC 1563 A text/enriched type for MIME January 1994
--foo Content-type: text/enriched
Borenstein [Page 10]
RFC 1563 A text/enriched type for MIME January 1994
An Example
Borenstein [Page 11]
RFC 1563 A text/enriched type for MIME January 1994
Security Considerations
Borenstein [Page 12]
RFC 1563 A text/enriched type for MIME January 1994
Appendix A -- A Simple enriched-to-plain Translator in C
Borenstein [Page 13]
RFC 1563 A text/enriched type for MIME January 1994
if (++newlinect > 1) putc(c, stdout);
Borenstein [Page 14]
RFC 1563 A text/enriched type for MIME January 1994
Appendix B -- Differences from RFC 1341 text/richtext
Borenstein [Page 15]
RFC 1563 A text/enriched type for MIME January 1994
8. In text/richtext, there were three commands (<NL>, <NP>, and <LT>) that did not use balanced closing delimiters. Since all of these have been eliminated, there are NO exceptions to the nesting/balancing rules in text/enriched.