Re: procmail and Unicode header lines (RFC 2047)

Stanisław Findeisen wrote:
Is there any support in Debian for Unicode e-mail header lines
processing, e.g. with procmail?
Subject: =?ISO-2022-JP?B?GyRCNEE7eiROJTUlViU4JSclLyVIGyhC?=
Hm I wrote this little script:

It is easy to use it in .procmailrc along with formail (you decode
encoded subject (or any other field) and *then* you search for your
patterns of interest). Then you can, for instance, modify the subject
and encode it back.

It works for me, at least.

Neat! I will have to check it out.


Attachment: signature.asc
Description: Digital signature