Gnus development mailing list
 help / color / mirror / Atom feed
From: "Johan Kullstam" <kullstam@ne.mediaone.net>
Subject: Re: GIF/jpeg attached as quoted-printable in MIME?
Date: 26 Sep 1999 17:46:17 -0400	[thread overview]
Message-ID: <m2r9jle47q.fsf@sophia.axel.nom> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "25 Sep 1999 10:40:37 +0200"

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Bjorn Halvor Solberg <bhso@pacbell.net> writes:
> 
> > The problem was really that software on the recipient side didn't know
> > what to do with the QP-encoded image, Gnus itself handled that just fine
> > as a recipient.
> 
> I'm thinking that perhaps it's a mistake to decide whether to QP or
> base64 things based on efficiency.

this is not the problem.  the choosing idea is perfectly fine.  the
implementation has let us down in the details.  the problem is/was a
buggy chooser function and a buggy quoted-printable encoder.

> Does all software know how to
> decode a QP-d picture?  I would kinda be surprised if that were the
> case... 

there's something wrong with the quoted-printable encoding for binary
files.  (this is how i discovered the buggy quoted-printable-or-base64
function.)  text with the odd weird char seem to work ok.  i think it
is something to do with very long text lines.  i think software knows
how to decode QP.  gnus/emacs just needs to fix its encoding.  

i have decoded quoted-printable (which gnus-0.96 emacs 20.4 sent) in
both emacs and netscape and get the same wrong answer (i.e., corrupt
file).  i suspect the encoder.  the corruption was a spurious bang
char (!) followed by a newline.

the qp-or-base64 choser function has been bogus in 0.9[56].  in 0.96
it would choose quoted-printable for all long attachments.  since the
chooser should now be fixed.  these kinds of image sent with
quoted-printable problems should go away.  however, this doesn't mean
we ought not fix quoted-printable in the first place.

-- 
J o h a n  K u l l s t a m
[kullstam@ne.mediaone.net]
Don't Fear the Penguin!


  parent reply	other threads:[~1999-09-26 21:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-08 21:24 Bjorn Halvor Solberg
1999-09-09  0:14 ` Bjorn Halvor Solberg
1999-09-25  8:40   ` Lars Magne Ingebrigtsen
1999-09-25 10:23     ` Kai Großjohann
1999-09-25 10:38       ` Lars Magne Ingebrigtsen
1999-09-26 21:46     ` Johan Kullstam [this message]
1999-09-27 14:03       ` Toby Speight
1999-09-27 17:59         ` Lars Magne Ingebrigtsen
1999-09-27 18:26           ` Toby Speight
1999-09-27 18:43             ` Lars Magne 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2r9jle47q.fsf@sophia.axel.nom \
    --to=kullstam@ne.mediaone.net \
    /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.
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 NNTP newsgroup(s).