#1 2021-03-05 04:12

raspopov
Member
From: Russian Federation
Registered: 2021-03-05
Posts: 3
Website

E-mail tags decoding error

ReNamer lack of support encoded e-mail tags (/wiki/ReNamer:Meta_Tags) for example "From: =?utf-8?b?0JrQvtC90YLRg9GALtCe0KTQlA==?=" or "From: =?windows-1251?Q?=CA=EE=EC=EF=E0=ED=E8=FF_=D2=E0=EA=F1=EA=EE=EC?=" goes to the filenames as-is.

Offline

#2 2021-03-08 20:24

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: E-mail tags decoding error

The automatic decoding of the email subject line is available since ReNamer 6.8.

Perhaps you are using an older version?

Offline

#3 2021-03-09 04:21

raspopov
Member
From: Russian Federation
Registered: 2021-03-05
Posts: 3
Website

Re: E-mail tags decoding error

7.2

Offline

#4 2021-03-09 16:01

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: E-mail tags decoding error

Can't reproduce your issue with ReNamer 7.2.

I presume you are using the ":Email_Subject:" meta tag on emails in the EML format?

Can you provide a sample email? You can send it by email to avoid leaking any personal information.

Offline

#5 2021-03-09 19:01

raspopov
Member
From: Russian Federation
Registered: 2021-03-05
Posts: 3
Website

Re: E-mail tags decoding error

The e-mail headers (UTF-8, CR+LF):

...
from: =?UTF-8?B?0J/QtdGA0LLRi9C5INCe0KTQlCA=?=<noreply@1-ofd.ru>
Subject: =?UTF-8?Q?=F0=9F=9A=80_=D0=A7=D0=B5=D0=BA_07.11.2020_16:31?=
...

extracted as:
":Email_SenderName:" --> ""
and:
":Email_Subject:" --> "=?UTF-8?Q?=F0=9F=9A=80_=D0=A7=D0=B5=D0=BA_07.11.2020_16:31?="

Another example:

...
From: =?windows-1251?Q?=CE=D4=C4_=D2=E0=EA=F1=EA=EE=EC?= <noreply@taxcom.ru>
Subject: =?windows-1251?Q?=CA=E0=F1=F1=EE=E2=FB=E9_=F7=E5=EA_=EE=F2?=
 =?windows-1251?Q?_=CE=C1=D9=C5=D1=D2=C2=CE_=D1_=CE=C3=D0=C0=CD=C8=D7?=
 =?windows-1251?Q?=C5=CD=CD=CE=C9_=CE=D2=C2=C5=D2=D1=D2=C2=C5=CD=CD=CE?=
 =?windows-1251?Q?=D1=D2=DC=DE_=22=C0=F0=E8=F1=F2=EE=F1=22_=E7=E0?=
 =?windows-1251?Q?_08=2E07=2E2020?=
...

extracted as:
":Email_SenderName:" --> "=?windows-1251?Q?=CE=D4=C4_=D2=E0=EA=F1=EA=EE=EC?="
and:
":Email_Subject:" --> "=?windows-1251?Q?=CA=E0=F1=F1=EE=E2=FB=E9_=F7=E5=EA_=EE=F2?= ???????? ? ???????=?windows-1251?Q?=C5=CD=CD=CE=C9_=CE=D2=C2=C5=D2=D1=D2=C2=C5=CD=CD=CE?==?windows-1251?Q?=D1=D2=DC=DE_=22=C0=F0=E8=F1=F2=EE=F1=22_=E7=E0?= 08.07.2020"

Offline

#6 2021-03-10 02:20

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: E-mail tags decoding error

Thank you for excellent examples!

A couple of issues which resulted in incorrect parsing have been addressed in ReNamer 7.2.0.10 Beta.

Please try the latest development version.

Offline

Board footer

Powered by FluxBB