#2996 ✓fixcommitted
rontaro

Japanese file names are garbled.

Reported by rontaro | February 4th, 2022 @ 08:54 AM

Hi,

I attach a file with a Japanese file name and send it with Mailmate.
Then, when I check the incoming mail in Gmail (browser), the file name is garbled.
What should I do?

Regards,

Comments and changes to this ticket

  • benny

    benny February 17th, 2022 @ 10:06 PM

    Could you provide me with an example filename which triggers this issue?

  • rontaro

    rontaro February 18th, 2022 @ 01:41 AM

    Hi,

    All Japanese file names attached to e-mails will be garbled.

    For example, let's attach a file with the following Japanese name
    CIOMS_02_1_修正済み.pdf

    On the receiving side, the above file name will be displayed as follows.
    CIOMS_02_1_%e4%bf%ae%e6%ad%a3%e6%b8%88%e3%81%bf.pdf

    Regards,

  • benny

    benny February 23rd, 2022 @ 10:35 AM

    • State changed from “new” to “reproduced”

    Ok, first of all, it does work if I send it to Apple Mail. As far as I can see MailMate doesn't do anything strictly wrong.

    This is one of those problems where doing it the “right way” doesn't always work in practice. I tried sending an email using Gmail to see how they do encoding -- and yes, they do it the incorrect way.

    After a bit of googling then I think maybe the approach described in this blog post is the way to go to make it work despite buggy email clients. I can see that this is also what Apple Mail does.

  • benny

    benny February 23rd, 2022 @ 11:10 AM

    • State changed from “reproduced” to “fixcommitted”

    Turns out Gmail did mostly handle things the right way, but MailMate had to behave exactly like Apple Mail to make it work. I'm now generating an additional filename parameter which is kind of obsolete/redundant, but it'll likely have better interoperability with other email clients -- at least as well as Apple Mail.

    (This fix will be in r5873+ when available.)

  • rontaro

    rontaro March 1st, 2022 @ 11:47 PM

    We have confirmed that this issue has been resolved in r5873.
    Thank you for the fix.
    Best regards,

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages