unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: rms@gnu.org
Cc: "Stephen J. Turnbull" <stephen@xemacs.org>,
	emacs-devel@gnu.org, monnier@IRO.UMontreal.CA,
	evilborisnet@netscape.net
Subject: Re: Rmail-mbox branch
Date: Mon, 08 Sep 2008 18:55:08 +0100	[thread overview]
Message-ID: <48C566FC.1070808@harpegolden.net> (raw)
In-Reply-To: <E1KcjoT-0000tL-SZ@fencepost.gnu.org>

Richard M. Stallman wrote:

> HTML is made of plain ASCII text.

(1) No it isn't, at least not necessarily.
http://www.w3.org/TR/REC-html40-971218/charset.html#encodings

While HTML numeric/entity refs _allow_ most all >7-bit chars to
make it through an ascii channel, IF someone uses them, AFAIK their use
is _not_ mandated, you can e.g. just write your html in utf-8 and use ☺
characters directly.  i.e. they're a facility a bit like those C
trigraphs (entity refs have a range of other uses in SGML/XML land).


(2) text/html can have a declared charset.  It _may_ be US-ASCII,
but it isn't necessarily the case that it is.
http://www.ietf.org/rfc/rfc2854.txt

"Because of the availability within HTML itself for using character
entity references, documents that use a wide repertoire of characters
may still be represented using the US-ASCII charset and transported
without encoding.  However, transport of text/html using a charset
other than US-ASCII may require base64 or quoted-printable encoding
for 7-bit channels."

When I wrote a mostly-ascii Unicode HTML mail with a capable mailer (not
that I make a habit of HTML mail, bleurgh), it got sent as:

Content-Type: text/html;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable


At some point, after pasting in a big bunch of unicode squiggles
(presumably some heuristic on proportion of non-7-bit-ascii chars or
encoded length) , it decided to switch to:

Content-Type: text/html;
  charset="utf-8"
Content-Transfer-Encoding: base64

















  reply	other threads:[~2008-09-08 17:55 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11 18:05 Rmail-mbox branch Chong Yidong
2008-06-30 12:20 ` Paul Michael Reilly
2008-06-30 13:06   ` Chong Yidong
2008-06-30 13:50     ` Paul Michael Reilly
2008-06-30 13:59       ` Miles Bader
2008-06-30 15:57         ` Stefan Monnier
     [not found]         ` <4868F9F0.2060408@pajato.com>
2008-06-30 18:29           ` Miles Bader
2008-06-30 16:03   ` Stefan Monnier
2008-06-30 17:48     ` Paul Michael Reilly
2008-07-03 21:56       ` Stefan Monnier
2008-08-18  5:15     ` Paul Michael Reilly
2008-08-18  6:01       ` Miles Bader
2008-08-18  6:05         ` Paul Michael Reilly
2008-08-18  6:52           ` Miles Bader
2008-08-18 12:18             ` Paul Michael Reilly
2008-08-29  7:04               ` Glenn Morris
2008-08-31  4:27                 ` Paul Michael Reilly
2008-08-31 18:50                   ` Chong Yidong
2008-08-31 19:15                     ` Evil Boris
2008-09-01  3:09                       ` Eli Zaretskii
2008-09-01 11:46                         ` Evil Boris
2008-09-01 19:19                           ` Eli Zaretskii
2008-09-01 19:57                             ` Stefan Monnier
2008-09-02  3:21                               ` Eli Zaretskii
2008-09-01 23:46                             ` Evil Boris
2008-09-02  2:38                               ` Evil Boris
2008-09-02  3:32                                 ` Eli Zaretskii
2008-09-02 11:53                                   ` Evil Boris
2008-09-03 20:12                                     ` Paul Michael Reilly
2008-09-02 14:13                                 ` Richard M. Stallman
2008-09-03  2:46                                   ` Stephen J. Turnbull
2008-09-03  4:41                                     ` Richard M. Stallman
2008-09-03  6:28                                       ` Stephen J. Turnbull
2008-09-04  0:10                                         ` Richard M. Stallman
2008-09-04  2:26                                           ` Stephen J. Turnbull
2008-09-04  7:03                                             ` Paul Michael Reilly
2008-09-04  8:44                                               ` Stephen J. Turnbull
2008-09-04 13:58                                               ` Stefan Monnier
2008-09-04 21:58                                                 ` Paul Michael Reilly
2008-09-04 15:58                                               ` Eli Zaretskii
2008-09-04 22:00                                                 ` Paul Michael Reilly
2008-09-05  2:20                                             ` Richard M. Stallman
2008-09-05  5:33                                               ` Stephen J. Turnbull
2008-09-06 21:05                                                 ` Richard M. Stallman
2008-09-08  4:57                                                   ` Stephen J. Turnbull
2008-09-08  8:36                                                     ` Francesco Potorti`
2008-09-08  9:53                                                       ` Stephen J. Turnbull
2008-09-08 13:03                                                         ` Stefan Monnier
2008-09-09  1:58                                                           ` Stephen J. Turnbull
2008-09-08 19:15                                                         ` Eli Zaretskii
2008-09-08 16:42                                                     ` Richard M. Stallman
2008-09-08 17:55                                                       ` David De La Harpe Golden [this message]
2008-09-09  2:54                                                       ` Stephen J. Turnbull
2008-09-09 14:11                                                         ` Richard M. Stallman
2008-09-10  9:10                                                           ` Stephen J. Turnbull
2008-09-10 11:43                                                             ` Paul Michael Reilly
2008-09-10 12:23                                                               ` tomas
2008-09-10 17:55                                                               ` Stefan Monnier
2008-09-11  2:39                                                               ` Stephen J. Turnbull
2008-09-10 15:07                                                             ` David De La Harpe Golden
2008-09-03 16:08                                     ` Stefan Monnier
2008-09-03 19:56                                       ` Paul Michael Reilly
2008-09-04  0:45                                       ` Kenichi Handa
2008-09-04  4:35                                         ` Stefan Monnier
2008-09-04  2:36                                       ` Stephen J. Turnbull
2008-09-04  7:27                                         ` Paul Michael Reilly
2008-09-02  3:28                               ` Eli Zaretskii
2008-09-01  6:11                       ` Richard M. Stallman
2008-09-01  8:42                         ` Francesco Potorti`
2008-09-01 11:25                           ` Evil Boris
2008-09-01 19:39                     ` Paul Michael Reilly
2008-09-01 20:20                       ` Chong Yidong
2008-09-01 20:52                       ` Stefan Monnier
2008-09-02  1:09                         ` Richard M. Stallman
2008-09-02  3:29                           ` Eli Zaretskii
2008-09-03  2:41                             ` Richard M. Stallman
2008-09-03  3:17                               ` Eli Zaretskii
2008-09-03 19:46                                 ` Paul Michael Reilly
2008-09-03 20:20                                   ` Chong Yidong
2008-09-03 23:37                                   ` Glenn Morris
2008-09-04  0:10                                 ` Richard M. Stallman
2008-09-02 19:17                       ` Paul Michael Reilly
2008-09-01  1:06                   ` Glenn Morris
2008-09-01 19:19                     ` Paul Michael Reilly
2008-08-19  4:31       ` Chong Yidong
2008-08-19  7:15         ` Paul Michael Reilly
2008-08-20 16:27           ` Stefan Monnier
2008-08-21 13:55             ` Paul Michael Reilly
2008-08-27 15:47               ` Stefan Monnier

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=48C566FC.1070808@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=emacs-devel@gnu.org \
    --cc=evilborisnet@netscape.net \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=rms@gnu.org \
    --cc=stephen@xemacs.org \
    /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).