Re: [exim] raw mime_filename

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] raw mime_filename
On 13/10/2022 17:57, Mikhail Golub via Exim-users wrote:
> 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"


Have a look at $mime_content_disposition - this is where the $mime_filename
was extracted from. If I read the code right, the encoded value there could
include a filename-charset as well as the file name.

Relevant standards seem to be RFC 2231, RFC 2047.

--
Cheers,
Jeremy