Jim Henderson <[email protected]> wrote:
>
>I've got a post in a private group on the server in question that's mis-
>encoded as 8859-1, but the subject line shows correctly in Greek, but the 
>message body is garbage.

JFYI, if encoded at all, encoding of headers in News (and mail) is
"self-describing", the Content-Type/Content-Transfer-Encoding headers
only pertain to the body (parts) - this is to avoid the client program
having to read all header lines before displaying any of them. E.g. you
can have something like this:

Subject: =?utf-8?B?QmVrcsOkZnRlbHNl?=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Where the Subject is utf-8 base64-encoded, while the body is "raw"
utf-8. Of course this also allows for the encoding or charset to be
correctly specified for header lines but incorrectly specified for the
body - e.g. if the above had charset=iso-8859-1 in the Content-Type
header even though the body actually *was* utf-8, the result would
probably be what you're seeing.

--Per Hedeland


_______________________________________________
Pan-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to