Re: improving eword-decode.el
Katsumi Yamaoka <[email protected]> Tue, 18 Oct 2005 23:35:38 +0900
| Newsgroups | gmane.mail.emacs.mime.japanese |
|---|---|
| Message-ID | <[email protected]> |
>>>>> In <[email protected]> wrote: >> RFC2047 >> > [emacs-mime-ja:01991] > encoder ^^;; > Decoder > 6.3. Mail reader handling of incorrectly formed 'encoded-word's > It is possible that an 'encoded-word' that is legal according to the > syntax defined in section 2, is incorrectly formed according to the > rules for the encoding being used. For example: > (1) An 'encoded-word' which contains characters which are not legal > for a particular encoding (for example, a "-" in the "B" > encoding, or a SPACE or HTAB in either the "B" or "Q" encoding), > is incorrectly formed. > (2) Any 'encoded-word' which encodes a non-integral number of > characters or octets is incorrectly formed. > A mail reader need not attempt to display the text associated with an > 'encoded-word' that is incorrectly formed. However, a mail reader > MUST NOT prevent the display or handling of a message because an > 'encoded-word' is incorrectly formed. > encoded-words `need not' ;; fj.sys.mac, fj.kanji ;; "=?ISO-2022-JP?Q?^[$B%F%9%H^[(B?=" (1) ;; > > ftp://ftp.jpl.org/pub/tmp/eword-decode.el.gz encoded-words ()