Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rfc2646 typo?

5 views
Skip to first unread message

HAT

unread,
May 19, 2003, 12:26:07 PM5/19/03
to
HATです。

RFC2646 - The Text/Plain Format Parameter に、

> The Text/Plain media type is the lowest common denominator of
> Internet email, with lines of no more than 997 characters (by
> convention usually no more than 80), and where the CRLF sequence
> represents a line break [MIME-IMT].

という部分がありますが、
この997字という数字はどこから出てきたのでしょう?
SMTPだと998字だと思うのですが。
全RFCをgrepしても997などという数字は出てきません。

RFC ERRATA
http://www.rfc-editor.org/errata.html
にも出てきません。

Internet Draft
http://www.ietf.org/internet-drafts/draft-gellens-format-bis-00.txt
でも、997のまま。

typo?

--
HAT <h...@fa2.so-net.ne.jp>

saitoh akinori

unread,
May 22, 2003, 10:38:29 AM5/22/03
to
大阪大学の齊藤です。

HAT wrote:
> この997字という数字はどこから出てきたのでしょう?


CRLFと文字列末の \0 を併せて1000Byte。
だったりして。
つまり char line[1000];
というコーディングをしたプログラムがオーバーフローせずに
扱える。 :-)


齊藤明紀 sai...@ist.osaka-u.ac.jp

HAT

unread,
Jun 29, 2003, 9:35:42 AM6/29/03
to
以前、RFC2646で、"997"となっている部分はtypeじゃないかと質問しました、
その後、著者にメールしたりしたんですが、
出たばかりのdraft-gellens-format-bis-01.txtでは、

> The Text/Plain media type is the lowest common denominator of

> Internet email, with lines of no more than 998 characters (by
> convention usually no more than 78), and where the carriage-return
> and line-feed (CRLF) sequence represents a line break (see
> [MIME-IMT] and [MSG-FMT]).

"998"になっています。

--
HAT <h...@fa2.so-net.ne.jp>

0 new messages