From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38097 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: Have Emacs guess the charset? Date: Mon, 20 Aug 2001 19:13:23 +1000 Organization: Not today, thank you, Mother. Message-ID: <877kvz2ix8.fsf@inanna.rimspace.net> References: <871ym71ulx.fsf@inanna.rimspace.net> <87r8u7zfl8.fsf@inanna.rimspace.net> <87r8u76vl0.fsf@inanna.rimspace.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173731 19025 80.91.224.250 (21 Oct 2002 04:15:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:15:31 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 4434 invoked from network); 20 Aug 2001 09:13:42 -0000 Original-Received: from melancholia.rimspace.net (HELO melancholia.danann.net) (203.36.211.210) by gnus.org with SMTP; 20 Aug 2001 09:13:42 -0000 Original-Received: from localhost (melancholia.rimspace.net [203.36.211.210]) by melancholia.danann.net (Postfix) with ESMTP id 069D52A833 for ; Mon, 20 Aug 2001 19:13:24 +1000 (EST) Original-Received: by localhost (Postfix, from userid 1000) id 8B04C82092; Mon, 20 Aug 2001 19:13:23 +1000 (EST) Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 20 Aug 2001 10:25:43 +0200") X-Homepage: http://danann.net/ User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.5 (artichoke) Original-Lines: 40 Xref: main.gmane.org gmane.emacs.gnus.general:38097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38097 On Mon, 20 Aug 2001, Lars Magne Ingebrigtsen wrote: > Daniel Pittman writes: > >> Well, if someone were to forward the message to me, I could see if >> XEmacs were any more clever than GNU Emacs. Better still, I could >> then forward that on and ask the MULE hackers what they think about >> doing it. > > What -- you mean you don't get any spam in mangled big5? Wow. Heh. I don't /keep/ any spam mangled in big5, and I don't fancy waiting long enough for some to arrive. > Anyway, I'll mail you one... Cool. >> You could supply a list of the various far-east encodings to that, >> which /should/ prefer those to the western encodings. Not that the >> function is likely to do much for the western encodings anyway. > > But we don't know what encodings there are in the buffer. > > But I guess we could look for clues -- for instance, if any of the > headers are encoded with big5 (and marked as such), we could use that > as a clue... That could be it. Otherwise, you could try just giving a set of likely encodings such as big5, which will not be autodetected in any standard western character set. Not that this is such a great idea... at least, not unless it's customizable by the user. Daniel -- Christianity has not been tried and found wanting; it has been found difficult and not tried. -- Gilbert K. Chesterton