Author: Jasen Betts Date: To: exim-users Subject: Re: [exim] raw mime_filename
On 2022-10-13, Mikhail Golub via Exim-users <exim-users@???> wrote: > Hi.
>
> How can I get "raw" $mime_filename ?
>
> In Exim - "headers_charset = UTF-8".
> And if file name of attachment not in utf8 i have a problem with log
> display.
> Example from log, $mime_filename:
> "▒▒▒▒▒▒ ▒▒▒ 12_10_22.xlsx"
>
> I could use ... embedded Perl (use Encode).
> If i got raw mime_filename ...
>
> Or can you recommend an easier way get filename in log in utf8 encoding?
nothing that can be relied upon.
last week I saw an attachment with lots of high-bit bytes in the
filename, not UTF-8, and no explicit announcement of the character set.