bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Which is best approach to implement RFC2047?


From: Kidong Lee
Subject: [bug-mailutils] Which is best approach to implement RFC2047?
Date: Tue, 14 Jan 2003 11:45:05 +0900
User-agent: Mutt/1.4i

Hello,

I'm writing RFC2047 decoding routine for mailutils.
And I found there is several approach to do it.

* string conversion function
        rfc2047_decode (const char* toset, const char* fromstr, char**
        toset);
* wrapper function
        header_aget_value_rfc2047_decoded (...);
        address_get_personal_rfc2047_decoded (...);
* stream filter
        filter_create (&ostream, istream, "rfc2047", MU_FILTER_DECODE,
        ...);

It's not easy to decide it.
What do you think which is best?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]