[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RMAIL, multipart MIME-type, charset fix
From: |
Alexander Pohoyda |
Subject: |
RMAIL, multipart MIME-type, charset fix |
Date: |
Sun, 28 Sep 2003 23:56:29 +0200 (CEST) |
Hi all,
Current behaviour: RMAIL searches the message header for the
Content-Type header field with text/plain type, and tries to find out
the MIME-charset used (charset attribute).
That's nice, but if the message comes in multipart type, no such
header field is found, thus the undecided coding system is used
instead.
In other words, RMAIL does not handle the multipart MIME-type.
While I'm working on the correct solution (implementing missing RFC
2045, 2046, 2047 functionality), attached patch solves the problem
today. It tries to find the wanted header field in the whole message,
if it was not found in the message header.
This should work for 98% of cases, I suppose.
Thanks for taking a look. Diff against the current CVS.
--
Alexander Pohoyda <alexander.pohoyda@gmx.net>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44
rmail.el.diff
Description: rmail.el.diff
- RMAIL, multipart MIME-type, charset fix,
Alexander Pohoyda <=