You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apple Mail long russian filename attachment problem

Hi,


The problem is that Mail.app set incorrect filename for attachment. I have gmail account and set up Mail.app as IMAP client. Most attachments are correct, but sometimes they come with bad names.For example:

User uploaded file


In gmail account (web) everything is ok:


User uploaded file


The problem is that Mail.app set another filename, set up KOI-8 and instead of having one name=".....", we have name*0, name*1, name*2



In gmail:


Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document;

name="=?UTF-8?B?0KTRg9C90LrRhtC40L7QvdCw0LvRjNC90YvQtSDRgtGA0LXQsdC+0LLQsN C90LjRjyDQuiDQpNCe?=

=?UTF-8?B?0J8gLSDQstGL0LHQvtGAINC/0YDQvtC00YPQutGC0LAg0Lgg0L/QvtC70Y8g0LrQ vtGC0L7RgNGL0LUg?=

=?UTF-8?B?0L7RgdGC0LDRjtGC0YHRj192NC0xLmRvY3g=?="

Content-Disposition: attachment;

filename="=?UTF-8?B?0KTRg9C90LrRhtC40L7QvdCw0LvRjNC90YvQtSDRgtGA0LXQsdC+0L LQsNC90LjRjyDQuiDQpNCe?=

=?UTF-8?B?0J8gLSDQstGL0LHQvtGAINC/0YDQvtC00YPQutGC0LAg0Lgg0L/QvtC70Y8g0LrQ vtGC0L7RgNGL0LUg?=

=?UTF-8?B?0L7RgdGC0LDRjtGC0YHRj192NC0xLmRvY3g=?="

Content-Transfer-Encoding: base64

X-Attachment-Id: f_hg876ra80


In Mail.App


Content-Disposition: ATTACHMENT;

filename*0="=?KOI8-R?B?5tXOy8PJz87BzNjO2cUg1NLFws/Xwc7J0SDLIObv8CAtINfZws/ SI";

filename*1="NA=?= =?KOI8-R?B?0s/E1cvUwSDJINDPzNEgy8/Uz9LZxSDP09TBwNTT0V92NC0";

filename*2="xLmRvY3g=?="

Content-Type: APPLICATION/VND.OPENXMLFORMATS-OFFICEDOCUMENT.WORDPROCESSINGML.DOCUMENT;

name*0="=?KOI8-R?B?5tXOy8PJz87BzNjO2cUg1NLFws/Xwc7J0SDLIObv8CAtINfZws/SI";

name*1="NA=?= =?KOI8-R?B?0s/E1cvUwSDJINDPzNEgy8/Uz9LZxSDP09TBwNTT0V92NC0";

name*2="xLmRvY3g=?="

Content-Transfer-Encoding: BASE64

MacBook Air, OS X Mountain Lion (10.8.3)

Posted on May 2, 2013 10:55 AM

Reply
4 replies

May 2, 2013 11:59 AM in response to Paul Tarasov

BUG!!!


Here is. Mail.app converts filename into KOI8-R, but it doesn't change encoding for section (in this message - -047d7bb03fd6ab743004dbbf6ccd)


MIME-Version: 1.0

Received: by 10.49.61.129 with HTTP; Thu, 2 May 2013 10:18:35 -0700 (PDT)

Date: Thu, 2 May 2013 21:18:35 +0400

Delivered-To: paul.tarasov@gmail.com

Message-ID: <CAKbJTRGwDC0Y4L_pV84t9OCM05mhLvW1HhugeVCzABfOAnNMtA@mail.gmail.com>

Subject: TEST

From: "Paul M. Tarasov" <paul.tarasov@gmail.com>

To: "Paul M. Tarasov" <paul.tarasov@gmail.com>

Content-Type: multipart/mixed; boundary=047d7bb03fd6ab743304dbbf6ccf


--047d7bb03fd6ab743304dbbf6ccf

Content-Type: multipart/ALTERNATIVE;

boundary=047d7bb03fd6ab743004dbbf6ccd


--047d7bb03fd6ab743004dbbf6ccd

Content-Transfer-Encoding: BASE64

Content-Type: TEXT/PLAIN;

charset=UTF-8


LS0gDQrQn9Cw0LLQtdC7DQo=

--047d7bb03fd6ab743004dbbf6ccd

Content-Transfer-Encoding: QUOTED-PRINTABLE

Content-Type: TEXT/HTML;

charset=UTF-8


<div dir=3D"ltr"><br clear=3D"all"><div><br></div>-- <br><font face=3D"verd=

ana, sans-serif">=D0=9F=D0=B0=D0=B2=D0=B5=D0=BB</font>

</div>


--047d7bb03fd6ab743004dbbf6ccd--


--047d7bb03fd6ab743304dbbf6ccf

Content-Disposition: ATTACHMENT;

filename*0="=?KOI8-R?B?5tXOy8PJz87BzNjO2cUg1NLFws/Xwc7J0SDLIObv8CAtINfZws/SI";

filename*1="NA=?= =?KOI8-R?B?0s/E1cvUwSDJINDPzNEgy8/Uz9LZxSDP09TBwNTT0V92NC0";

filename*2="xLmRvY3g=?="

Content-Type: APPLICATION/VND.OPENXMLFORMATS-OFFICEDOCUMENT.WORDPROCESSINGML.DOCUMENT;

name*0="=?KOI8-R?B?5tXOy8PJz87BzNjO2cUg1NLFws/Xwc7J0SDLIObv8CAtINfZws/SI";

name*1="NA=?= =?KOI8-R?B?0s/E1cvUwSDJINDPzNEgy8/Uz9LZxSDP09TBwNTT0V92NC0";

name*2="xLmRvY3g=?="

Content-Transfer-Encoding: BASE64



It must be KOI8-R


MIME-Version: 1.0

Received: by 10.49.61.129 with HTTP; Thu, 2 May 2013 10:18:35 -0700 (PDT)

Date: Thu, 2 May 2013 21:18:35 +0400

Delivered-To: paul.tarasov@gmail.com

Message-ID: <CAKbJTRGwDC0Y4L_pV84t9OCM05mhLvW1HhugeVCzABfOAnNMtA@mail.gmail.com>

Subject: TEST

From: "Paul M. Tarasov" <paul.tarasov@gmail.com>

To: "Paul M. Tarasov" <paul.tarasov@gmail.com>

Content-Type: multipart/mixed; boundary=047d7bb03fd6ab743304dbbf6ccf


--047d7bb03fd6ab743304dbbf6ccf

Content-Type: multipart/ALTERNATIVE;

boundary=047d7bb03fd6ab743004dbbf6ccd


--047d7bb03fd6ab743004dbbf6ccd

Content-Transfer-Encoding: BASE64

Content-Type: TEXT/PLAIN;

charset=KOI8-R


LS0gDQrQn9Cw0LLQtdC7DQo=

--047d7bb03fd6ab743004dbbf6ccd

Content-Transfer-Encoding: QUOTED-PRINTABLE

Content-Type: TEXT/HTML;

charset=UTF-8


<div dir=3D"ltr"><br clear=3D"all"><div><br></div>-- <br><font face=3D"verd=

ana, sans-serif">=D0=9F=D0=B0=D0=B2=D0=B5=D0=BB</font>

</div>


--047d7bb03fd6ab743004dbbf6ccd--


--047d7bb03fd6ab743304dbbf6ccf

Content-Disposition: ATTACHMENT;

filename*0="=?KOI8-R?B?5tXOy8PJz87BzNjO2cUg1NLFws/Xwc7J0SDLIObv8CAtINfZws/SI";

filename*1="NA=?= =?KOI8-R?B?0s/E1cvUwSDJINDPzNEgy8/Uz9LZxSDP09TBwNTT0V92NC0";

filename*2="xLmRvY3g=?="

Content-Type: APPLICATION/VND.OPENXMLFORMATS-OFFICEDOCUMENT.WORDPROCESSINGML.DOCUMENT;

name*0="=?KOI8-R?B?5tXOy8PJz87BzNjO2cUg1NLFws/Xwc7J0SDLIObv8CAtINfZws/SI";

name*1="NA=?= =?KOI8-R?B?0s/E1cvUwSDJINDPzNEgy8/Uz9LZxSDP09TBwNTT0V92NC0";

name*2="xLmRvY3g=?="

Content-Transfer-Encoding: BASE64

Apple Mail long russian filename attachment problem

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.