Attachment Name not correct

Description

The name of the attachment isnt decoded correctly.

I got a mail with an attachment “Übersicht.png” but it is shown as “Ãœbersicht.png”.

The sourcecode of the mail is:

Content-Type: image/png;
name="=?UTF-8?Q?=c3=9cbersicht=2epng?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename*=UTF-8’’%C3%9C%62%65%72%73%69%63%68%74%2E%70%6E%67

Expected Behavior

The attachment should be shown as “Übersicht.png” but instead the name is “Ãœbersicht.png”

Setup

  • OS and Version: Windows 10 and Manjaro
  • Mailspring Version: 1.7.8

(Originally posted by MartinHengstberger on GitHub.)