From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: attaching a tar files don't get it encoded
Date: 04 Dec 1999 11:42:15 -0500 [thread overview]
Message-ID: <2naenqhd3s.fsf@tiger.jia.vnet> (raw)
In-Reply-To: Simon Josefsson's message of "04 Dec 1999 17:35:06 +0100"
>>>>> "Simon" == Simon Josefsson <jas@pdc.kth.se> writes:
Simon> Simon Josefsson <jas@pdc.kth.se> writes:
>> Attaching a tar file (not gzip:ed) as archive/tar doesn't seem to
>> encode it with either base64 or QP, it's sent as binary data.
Simon> Sorry for following up on my own post, but I traced it and the problem
Simon> is because `find-charset-region' return 'ascii on the file contents
Simon> which make `mm-body-7-or-8' return '7bit, which make
Simon> `mm-encode-buffer' not encode the buffer at all. This last step is
Simon> wrong, becuase \0x00 is ascii (according to `find-charset-region') so
Simon> it makes Gnus send out ASCII 0 on the wire.
Simon> `mm-encode-buffer':
Simon> ;; We force buffers that are 7bit to be unencoded, no matter
Simon> ;; what the preferred encoding is.
Simon> (when (eq bits '7bit)
Simon> (setq encoding bits))
Right, I just fixed it in CVS.
--
Shenghuo
prev parent reply other threads:[~1999-12-04 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-04 16:00 Simon Josefsson
1999-12-04 16:35 ` Simon Josefsson
1999-12-04 16:42 ` Shenghuo ZHU [this message]
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=2naenqhd3s.fsf@tiger.jia.vnet \
--to=zsh@cs.rochester.edu \
/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).