nmh-workers
[Top] [All Lists]

Re: [nmh-workers] config ? re Content-Disposition: attachment; ... filename=SOME_UTF-8_CODED_STRING

2018-08-16 13:20:40
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

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>