From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45751 Path: main.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.gnus.general Subject: Re: naive charset question Date: Sun, 21 Jul 2002 00:47:08 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027226909 20303 127.0.0.1 (21 Jul 2002 04:48:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 21 Jul 2002 04:48:29 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17W8dv-0005HM-00 for ; Sun, 21 Jul 2002 06:48:28 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17W8dF-0001Jp-00; Sat, 20 Jul 2002 23:47:45 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 20 Jul 2002 23:48:10 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id XAA16603 for ; Sat, 20 Jul 2002 23:47:59 -0500 (CDT) Original-Received: (qmail 21172 invoked by alias); 21 Jul 2002 04:47:15 -0000 Original-Received: (qmail 21167 invoked from network); 21 Jul 2002 04:47:15 -0000 Original-Received: from 208-59-178-90.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO raeburn.org) (208.59.178.90) by gnus.org with SMTP; 21 Jul 2002 04:47:15 -0000 Original-Received: from kal-el.raeburn.org ([2002:d03b:b25a:1:201:2ff:fe23:e26d]) by raeburn.org (8.11.3/8.11.3) with ESMTP id g6L4l8f16775; Sun, 21 Jul 2002 00:47:08 -0400 (EDT) Original-Received: from raeburn by kal-el.raeburn.org with local (Exim 3.35 #1 (Debian)) id 17W8ce-0006L6-00; Sun, 21 Jul 2002 00:47:08 -0400 Original-To: ding@gnus.org In-Reply-To: (Ken Raeburn's message of "Sat, 20 Jul 2002 23:02:37 -0400") Original-Lines: 36 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45751 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45751 I wrote: > I didn't find much in the documentation to indicate why my naive > assumption might actually be wrong. In ognus-0.06, message.texi says > very little about charsets and encoding except "here's how you specify > your choice", Oops. That's not quite true. I overlooked the reference to emacs-mime.texi in the description of message-default-charset; I think it was the fact that it was in a parenthetical remark, suggesting that the use of message-default-charset was the normal case and the MULE bit was not, and that once upon a time non-MULE Emacs *was* the normal case, that led me to unconsciously dismiss it. My bad. Even so, the charset descriptions in emacs-mime are somewhat more encouraging, but they seem to suggest that Emacs should take the "HELLO" data, and if it can't encode it all as UTF-8, pull it apart into separate MIME parts that can be encoded with available charsets. Which sounds like it's probably exactly the right thing. But it didn't happen. I even tried breaking it into separate parts myself, adding a bunch of "#part" MML tags to the buffer (type="text/plain", disposition=inline), with "#multipart" around the whole thing, and all I got for my trouble was lots of prompts for the charset instead of just one. (Is it safe to use those magic #-sequences in <> brackets in an MML Message buffer when they're supposed to be literal and not MML tags?) I assume each prompt was for a different part, but I got no indication which part a given prompt might have been related to. Is there some special library code I should load in order for Emacs to recognize and process the non-ASCII characters in HELLO for transmission as email? Ken