[Top][All Lists]

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

Re: [Nmh-workers] pick(1) decode RFC-2047 headers?

From: Ken Hornstein
Subject: Re: [Nmh-workers] pick(1) decode RFC-2047 headers?
Date: Sat, 24 Nov 2012 15:12:33 -0500

>Header fields should be RFC 2047-decoded before any MH operation that
>considers the content of the message, including pick, shouldn't they?

Is that a rhetorical question? :-)

In a perfect world, yes, that would happen.  But RFC 2047 support wasn't
integral to MH; it got grafted on after MH development stopped, but
before we moved nmh to savannah.  It was actually only implemented in
the format engine with the %(decode) function.

Besides the issue of dealing with decoded strings internally, there
are other problems as well.  For example, we don't have a RFC 2047
encoder, so if we (for example) decode a subject line we have no
way of encoding it properly.

So right now anything that wants to handle decoded headers has to take
care of that itself.  Everything so far that has done that uses the
format engine.


reply via email to

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