Gnus development mailing list
 help / color / mirror / Atom feed
From: Soren Dayton <dayton@overx.com>
Subject: mm-bidy-7-or-8 seems bogus to me [pgnus 0.95]
Date: 26 Aug 1999 22:33:06 -0500	[thread overview]
Message-ID: <86k8qh3nkd.fsf@polo.overx.com> (raw)


Consider a body that is nothing but nulls.  This body is not
encoded. (see the skip-chars-forward below)  (note that
mm-find-charset-region has a similar test in it)  

It seems to me that it ought to be encoded 

Concretely it means that tar files don't get encoded.  And that people 
on the other side can't read them.  MIME is supposed to fix this
problem. 



Perhaps this should be "\001-\177" or even something like
"\027-\177".  What do people think?

Thanks
Soren




(defun mm-body-7-or-8 ()
  "Say whether the body is 7bit or 8bit."
  (cond
   ((not (featurep 'mule))
    (if (save-excursion
	  (goto-char (point-min))
	  (re-search-forward mm-8bit-char-regexp nil t))
	'8bit
      '7bit))
   (t
    ;; Mule version
    (if (and (null (delq 'ascii
			 (mm-find-charset-region (point-min) (point-max))))
	     ;;!!!The following is necessary because the function
	     ;;!!!above seems to return the wrong result under
	     ;;!!!Emacs 20.3.  Sometimes.
	     (save-excursion
	       (goto-char (point-min))
	       (skip-chars-forward "\0-\177")
	       (eobp)))
	'7bit
      '8bit))))


             reply	other threads:[~1999-08-27  3:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-27  3:33 Soren Dayton [this message]
1999-08-27  9:40 ` Toby Speight
1999-09-04  6:21   ` Soren Dayton

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=86k8qh3nkd.fsf@polo.overx.com \
    --to=dayton@overx.com \
    /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).