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
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/