[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] config ? re Content-Disposition: attachment; ... filen
From: |
Ralph Corderoy |
Subject: |
Re: [nmh-workers] config ? re Content-Disposition: attachment; ... filename=SOME_UTF-8_CODED_STRING |
Date: |
Thu, 16 Aug 2018 19:20:25 +0100 |
Hi Tom,
> What's the (config file?) fix so the string in
> filename=SOME_UTF-8_CODED_STRING
> associated w/below attachment headers
> is properly decoded?
...
> Content-Disposition: attachment;
> filename="=?UTF-8?b?Y2xpbWF0ZSBmbHllciB1cGRhdGVkLnBkZg==?="
$ scan -forma '%{Content-Disposition}' .
attachment; filename="=?UTF-8?b?Y2xpbWF0ZSBmbHllciB1cGRhdGVkLnBkZg==?="
$ scan -forma '%(decode{Content-Disposition})' .
attachment; filename="climate flyer updated.pdf"
$
See mh-format(5). But you might have to tell us more what you're trying
to do.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
Re: [nmh-workers] config ? re Content-Disposition: attachment; ... filename=SOME_UTF-8_CODED_STRING, Ken Hornstein, 2018/08/24