Re: [exim] raw mime_filename

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jeremy Harris
Data:  
Para: exim-users
Assunto: 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