Re: [exim] raw mime_filename

Góra strony
Delete this message
Reply to this message
Autor: Mikhail Golub
Data:  
Dla: exim-users
Temat: Re: [exim] raw mime_filename
Developers, can you help me?

On 14.10.2022 18:03, Andrew C Aitchison wrote:
> On Fri, 14 Oct 2022, Mikhail Golub via Exim-users wrote:
>
>> One more example.
>>
>> In letter:
>> Content-Description: =?windows-1251?B?wvXu5F/C+/Xu5C54bHN4?=
>>
>> In $mime_content_description:
>> =?windows-1251?b?wvxu5f/c+/xu5c54bhn4?=
>>
>> Compare it:
>> =?windows-1251?B?wvXu5F/C+/Xu5C54bHN4?=
>> =?windows-1251?b?wvxu5f/c+/xu5c54bhn4?=
>
> I have a script https://www.aitchison.me.uk/clearsubject.pl
> piping the above though it gives:
> ----------------------------------
> In letter:
> Content-Description: Вход_Выход.xlsx
>
> In $mime_content_description:
> ВьnеяЬыьnеОxnш
>
> Compare it:
> Вход_Выход.xlsx
> ВьnеяЬыьnеОxnш
> ----------------------------------
>
> So $mime_content_description: has not preserved the case of the encoded
> text,
> which means that the decoded version is wrong !