Newsgroups: fj.mail,fj.news.b
Path: galaxy.trc.rwcp.or.jp!jaist-news1!coconuts.jaist!wnoc-tyo-news!spinnews!inetgw.melco!kansai.melco!newsv!ichikawa
From: ichikawa@lsi.melco.co.jp (Shuichi ICHIKAWA / =?ISO-2022-JP?B?GyRAO1RAbiEhPH4wbBsoSg==?=)
Subject: Re: MIME Header Encoding (Re: Kanji code for mail and news)
Message-ID: <1994Jun29.035306.9361@xfsv.lsi.melco.co.jp>
Sender: news@xfsv.lsi.melco.co.jp
Nntp-Posting-Host: alfred
Organization: Mitsubishi Electric Corporation, System LSI Lab., Itami, Japan.
X-Newsreader: TIN [version 1.2 PL2]
References: <2uo2dp$o4l@post.trc.rwcp.or.jp> <MORIOKA.94Jun29111014@chamonix.jaist.ac.jp>
Date: Wed, 29 Jun 1994 03:53:06 GMT
Lines: 71
Xref: galaxy.trc.rwcp.or.jp fj.mail:2170 fj.news.b:516
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.mail&nb=2170&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

  $B<i2,$5$s!"$"$j$,$H$&$4$6$$$^$9!#(B

$B:G=iNI$/$o$+$i$J$+$C$?$N$G$9$,!"#32sFI$_D>$7$F$d$C$HM}2r$G$-$^$7$?!#(B
$B!t0l$D8-$/$J$C$?(B(^.^) $BJ9$/$O$$$C$H$-$NCQ$H$ONI$/$$$C$?$b$N$G(B*^.^*

$B<i2,(B $BCNI'(B (morioka@jaist.ac.jp) wrote:
:  (a) RFC 822 $B$G$O!"6uGr$H@^$jJV$7$r6hJL$7$J$$(B
: $B"*0J2<!"$3$l$r!V6uGr!W$H$$$&$3$H$K$7$^$9!#(B

$B6uGr$H@^$jJV$7$r6hJL$7$J$$$H$^$G8@$C$F$$$$$N$+;d$K$O$o$+$i$J$$$N$G$9$,!"(B
$B$;$C$+$/$J$N$G(Brfc822$B$N3:Ev$9$k$H$*$\$7$-ItJ,(B(folding/unfolding)$B$r0zMQ(B
$B$7$^$9!#(B > $B3'MM(B

     3.1.1.  LONG HEADER FIELDS

        Each header field can be viewed as a single, logical  line  of
        ASCII  characters,  comprising  a field-name and a field-body.
        For convenience, the field-body  portion  of  this  conceptual
        entity  can be split into a multiple-line representation; this
        is called "folding".  The general rule is that wherever  there
        may  be  linear-white-space  (NOT  simply  LWSP-chars), a CRLF
        immediately followed by AT LEAST one LWSP-char may instead  be
        inserted.  Thus, the single line

            To:  "Joe & J. Harvey" <ddd @Org>, JJV @ BBN

        can be represented as:

            To:  "Joe & J. Harvey" <ddd @ Org>,
                    JJV@BBN

        and

            To:  "Joe & J. Harvey"
                            <ddd@ Org>, JJV
             @BBN

        and

            To:  "Joe &
             J. Harvey" <ddd @ Org>, JJV @ BBN

             The process of moving  from  this  folded   multiple-line
        representation  of a header field to its single line represen-
        tation is called "unfolding".  Unfolding  is  accomplished  by
        regarding   CRLF   immediately  followed  by  a  LWSP-char  as
        equivalent to the LWSP-char.

        Note:  While the standard  permits  folding  wherever  linear-
               white-space is permitted, it is recommended that struc-
               tured fields, such as those containing addresses, limit
               folding  to higher-level syntactic breaks.  For address
               fields, it  is  recommended  that  such  folding  occur
               between addresses, after the separating comma.


:   MIME header $B$N(B encoded-word $B$O(B RFC 822 $B$K$*$1$k(B word $B$N$h$&$J$b$N$H(B
: $B$7$F9M$($i$l$F$$$F!"NY@\$9$k(B encoded-word $B$N4V$d(B word $B$H$N4V$K6uGr$,I,(B
: $BMW$K$J$C$F$$$^$9!#$H$3$m$,!"$3$N;EMM$,(B RFC 1522 $B$H(B RFC 1342$B!J$@$C$?$C(B
                                                     RFC 1341 ?
: $B$1!K$H$GHyL/$K0c$C$F$$$^$9!#(B

        RFC 1341$B$,(BMIME$B$N5,3J$G$9$h$M(B($B8E$$$+$bCN$l$J$$!D(B)$B!#(B

: $B$H$J$C$F$7$^$$$^$9!#$=$&$$$&Lu$G!"$3$N0c$$$rJ]B8$9$k$h$&$J(B ISO-2022-JP
: $B8GM-$N3HD%5,B'0F$,:4F#K-$5$s$K$h$C$FDs0F$5$l!"(B

$B$J$k$[$I!D!D(Bin progress$B$J$N$G$9$M!D!D(B($BJQ$JF|K\8l$@!D(B)

--
        $B;T@n!!<~0l(B  (Shuichi ICHIKAWA)  <ichikawa@lsi.melco.co.jp>
