Version: MD-II 1.4.15; maybe also earlier & .16
Short: Headers containing non-ascii-chars are not de/encoded properly
Reference: RFC2047 MIME Part3 (Multipurpose Internet Mail Extensions):
Message Header Extensions For Non-ASCII Text = [rfc2047]
Scope: Sending/Displaying Mail/News-Messages
An encoded-word defined by [rfc2047] looks like
'=?'<charset>'?'<method>'?'<encoding>'?='
e.g. '=?iso-8859-1?Q?J=E4nner?=' for the austrian word 'J�nner'
1. Displaying (Decoding of such headers):
�����������������������������������������
There are two encoding methods, 'B' for Base64 and 'Q' for Quoted-Printable.
(B is for use when it would be shorter than Q).
MD-II doesn't recognize B, i.e. seems to assume it as Q, thus failing to
show 'Subject: =?iso-8859-1?B?SuRubmVy?=' as 'Subject: J�nner'
This is ugly, as aols software uses B by default, making those headers
illegible for MD-II.
Why? As Base64 in body is diplayed correctly (as long as it is latin-1) ...
MD-II also assumes every <charset> as iso-8859-1 (latin1), i.e.
it doesn't interprete charsets at all ... (see also below).
Note: if there are _only_ SP, TAB, CR and LF between two encoded-words,
they must be ignored while decoding, according to [rfc2047]. But MD-II
will insert Spaces then ...
2. Sending (Encoding of such headers):
��������������������������������������
Headers which need encoding are not encoded correctly, e.g.
'Subject: J�nner' will be encoded by MD-II as
'Subject: J=?iso-8859-1?Q?=E4?=nner' while
'Subject: =?iso-8859-1?Q?J=E4nner?=' whould be correct.
[rfc2047] requires encoded word to be enclosed by 'linear-white-space'
(i.e. SP, TAB and CRLF) or parantheses ('(' and ')'). There must be
no other characters around encoded-words, so MD-II's encoding is broken;
and other user-agents may not display it as we do intend ...
IIRC MD-II also cuts encoded header lines that are longer than 76 chars?
3. Further Comments:
��������������������
- There is not only iso-latin-1 (ISO-8859-1); so in my opinion MD-II
should have provision for other charsets
- characters which are unknown to MD-II, should be displayed as
unknown, e.g. as a box, a question mark ('?') or an underline ('_')
- 'Re: ' in 'Subject: Re: ' (in a reply) should _not_ be encoded
- MD-II doesn't know how to fold a message header line.
- MD-II is a good piece of software, but it could be better ...
- this bugreport is sent for public.
--
Gruss, / "Yes, OE is definately a steaming pile of dung."
flori / Troy Parker in comp.sys.amiga.advocacy
__________________________________________________________________
MicroDot-II Mailing List - http://www.vapor.com/md2/
MicroDot-II FAQ: http://faq.vapor.com/md2/
Listserver Help: mailto:[EMAIL PROTECTED]?Subject=HELP
Unsubscribe....: mailto:[EMAIL PROTECTED]?Subject=UNSUBSCRIBE