GNU bug report logs - #37555
mml-attach-file ascii, big5

Previous Next

Packages: emacs, gnus;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 29 Sep 2019 16:24:02 UTC

Severity: normal

Tags: fixed

Found in version 5.13

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37555 in the body.
You can then email your comments to 37555 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#37555; Package emacs,gnus. (Sun, 29 Sep 2019 16:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Sun, 29 Sep 2019 16:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: mml-attach-file ascii, big5
Date: Mon, 30 Sep 2019 00:23:32 +0800
I used C-c C-a mml-attach-file and filled in the description with "提案"
and instead of 100% UTF we see ascii and big5 mentioned below.

Content-Type: text/html; charset=utf-8
Content-Disposition: inline; filename=DJ1.html
Content-Transfer-Encoding: 8bit
Content-Description: =?us-ascii?Q?=3D=3Fbig5=3FB=3F0Eg=3D=3F=3D?=

See my https://jidanni.org/comp/configuration

Gnus v5.13
GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.11)
 of 2019-09-23, modified by Debian




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#37555; Package emacs,gnus. (Sun, 29 Sep 2019 17:16:01 GMT) Full text and rfc822 format available.

Message #8 received at 37555 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 37555 <at> debbugs.gnu.org
Subject: Re: bug#37555: mml-attach-file ascii, big5
Date: Sun, 29 Sep 2019 20:15:43 +0300
> From: 積丹尼 Dan Jacobson
>  <jidanni <at> jidanni.org>
> Date: Mon, 30 Sep 2019 00:23:32 +0800
> 
> I used C-c C-a mml-attach-file and filled in the description with "提案"
> and instead of 100% UTF we see ascii and big5 mentioned below.

Why is that a problem?  The attachment should arrive intact to the
other side, that's the only important thing, no?




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#37555; Package emacs,gnus. (Sun, 29 Sep 2019 17:19:04 GMT) Full text and rfc822 format available.

Message #11 received at 37555 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 37555 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#37555: mml-attach-file ascii, big5
Date: Sun, 29 Sep 2019 19:18:46 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: 積丹尼 Dan Jacobson
>>  <jidanni <at> jidanni.org>
>> Date: Mon, 30 Sep 2019 00:23:32 +0800
>> 
>> I used C-c C-a mml-attach-file and filled in the description with "提案"
>> and instead of 100% UTF we see ascii and big5 mentioned below.
>
> Why is that a problem?  The attachment should arrive intact to the
> other side, that's the only important thing, no?

The description shouldn't be mangled like that, though.  It looks like
it's been encoded twice:

Content-Description: =?us-ascii?Q?=3D=3Fbig5=3FB=3F0Eg=3D=3F=3D?=

There's a big5 base64 text in there that's then been qp-encoded and
marked as ASCII.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#37555; Package emacs,gnus. (Sun, 29 Sep 2019 17:24:02 GMT) Full text and rfc822 format available.

Message #14 received at 37555 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 37555 <at> debbugs.gnu.org
Subject: Re: bug#37555: mml-attach-file ascii, big5
Date: Mon, 30 Sep 2019 01:23:07 +0800
>>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:

EZ> Why is that a problem?  The attachment should arrive intact to the
EZ> other side, that's the only important thing, no?

The Description is getting mangled!

A mangled Description will make the user look unprofessional to his superiors.




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#37555; Package emacs,gnus. (Sun, 29 Sep 2019 17:37:01 GMT) Full text and rfc822 format available.

Message #17 received at 37555 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 37555 <at> debbugs.gnu.org
Subject: Re: bug#37555: mml-attach-file ascii, big5
Date: Mon, 30 Sep 2019 01:36:08 +0800
[Message part 1 (text/plain, inline)]
And, adding some text above it,

希望臨時提案:

[DJ1.html (text/html, inline)]
[Message part 3 (text/plain, inline)]
causes:

[1. text/plain]
希望臨時提案:

[2. 粀 --- text/html; DJ1.html]
    ^^WRONG CHARACTER... 提案 has become just 粀.

As seen here:

Content-Description: =?big5?B?0Eg=?=

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#37555; Package emacs,gnus. (Sun, 29 Sep 2019 19:22:01 GMT) Full text and rfc822 format available.

Message #20 received at 37555 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 37555 <at> debbugs.gnu.org
Subject: Re: bug#37555: mml-attach-file ascii, big5
Date: Sun, 29 Sep 2019 22:21:02 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: 37555 <at> debbugs.gnu.org
> Date: Mon, 30 Sep 2019 01:23:07 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> EZ> Why is that a problem?  The attachment should arrive intact to the
> EZ> other side, that's the only important thing, no?
> 
> The Description is getting mangled!

But that's not what you said in your original complaint: there you
said the problem was that "instead of 100% UTF we see ascii and big5
mentioned below".  And that is what you replied to.




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#37555; Package emacs,gnus. (Mon, 30 Sep 2019 14:48:01 GMT) Full text and rfc822 format available.

Message #23 received at 37555 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 37555 <at> debbugs.gnu.org
Subject: Re: bug#37555: mml-attach-file ascii, big5
Date: Mon, 30 Sep 2019 22:46:35 +0800
>>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:

EZ> But that's not what you said in your original complaint: there you
EZ> said the problem was that "instead of 100% UTF we see ascii and big5
EZ> mentioned below".  And that is what you replied to.

In this bug report the only thing I am talking about is what happens to
the zzzz of
... disposition=attachment description=zzzz ...




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#37555; Package emacs,gnus. (Mon, 30 Sep 2019 15:16:02 GMT) Full text and rfc822 format available.

Message #26 received at 37555 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 37555 <at> debbugs.gnu.org
Subject: Re: bug#37555: mml-attach-file ascii, big5
Date: Mon, 30 Sep 2019 17:14:58 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> Content-Description: =?us-ascii?Q?=3D=3Fbig5=3FB=3F0Eg=3D=3F=3D?=

This is now fixed on the trunk.  I sent myself an attachment with the
string in question as the description, and I now get:

[1. 提案 --- image/jpeg; rms.jpg]...

So I'm closing the bug report -- if you're still seeing this, please
reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 30 Sep 2019 15:16:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 37555 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 30 Sep 2019 15:16:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Oct 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 293 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.