From: Lars Ingebrigtsen <larsi@gnus.org>
To: Lin Jian <me@linj.tech>
Cc: 56906@debbugs.gnu.org
Subject: bug#56906: 28.1; attachment names containing Chinese characters are handled wrong by default
Date: Thu, 04 Aug 2022 08:44:34 +0200 [thread overview]
Message-ID: <87pmhgse25.fsf@gnus.org> (raw)
In-Reply-To: <871qtydnqi.fsf@linj.tech> (Lin Jian's message of "Wed, 03 Aug 2022 10:23:07 +0800")
Lin Jian <me@linj.tech> writes:
> 3. M-x compose-mail <RET>
> 4. fill "To:" and "Subject:"
> 5. attach a file with Chinese characters in its name, e.g. "测试123abc.tar"
> 5.1. M-x mml-attach-file <RET>
> 5.2. Attach file: /path/to/测试123abc.tar <RET>
> 5.3. Content type (default archive/tar): <RET>
> 5.4. One line description: <RET>
> 5.5. Disposition (default attachment): <RET>
> 6. M-x message-send-and-exit <RET>
> 7. check the raw email on the receiver's side and find this:
>
> Content-Disposition: attachment;
> =?us-ascii?Q?filename=3D=22=3D=3Futf-8=3FB=3F5rWL6K+VMTIzYWJjLnRhcg=3D=3D?=
> =?us-ascii?Q?=3F=3D=22?=
I'm unable to reproduce this. I get:
Content-Disposition: attachment; filename="=?utf-8?B?5rWL6K+VMTIzYWJjLnR4dA==?="
It looks to me like something has double-encoded the header, so probably
an SMTP server somewhere that's mishandling the mail?
next prev parent reply other threads:[~2022-08-04 6:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 2:23 bug#56906: 28.1; attachment names containing Chinese characters are handled wrong by default Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 6:44 ` Lars Ingebrigtsen [this message]
2022-08-04 6:48 ` Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 7:25 ` Lars Ingebrigtsen
2022-08-04 7:35 ` Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 7:46 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmhgse25.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=56906@debbugs.gnu.org \
--cc=me@linj.tech \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).