From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38086 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 09:46:18 +1000 Organization: Not today, thank you, Mother. Message-ID: <871ym71ulx.fsf@inanna.rimspace.net> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035173722 18954 80.91.224.250 (21 Oct 2002 04:15:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:15:22 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 22713 invoked from network); 20 Aug 2001 00:23:08 -0000 Original-Received: from melancholia.rimspace.net (HELO melancholia.danann.net) (203.36.211.210) by gnus.org with SMTP; 20 Aug 2001 00:23:08 -0000 Original-Received: from localhost (melancholia.rimspace.net [203.36.211.210]) by melancholia.danann.net (Postfix) with ESMTP id 755592A838 for ; Mon, 20 Aug 2001 10:22:48 +1000 (EST) Original-Received: by localhost (Postfix, from userid 1000) id 704B3821D8; Mon, 20 Aug 2001 09:46:18 +1000 (EST) Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 19 Aug 2001 22:41:51 +0200") X-Homepage: http://danann.net/ User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.5 (artichoke) Original-Lines: 24 Xref: main.gmane.org gmane.emacs.gnus.general:38086 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38086 On Sun, 19 Aug 2001, Lars Magne Ingebrigtsen wrote: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: >=20 >> Sometimes I get email which has no predeclared charset. Emacs assumes >> Latin-1 in those cases. This is good in general. But is there a way >> to have Emacs inspect the current message and suggest a better >> charset? >> >> In particular, I sometimes know there is Chinese in it, but I don't >> know if it's GB or Big5 encoded. So I try both until I see a >> character I recognize. Is there a way to have Emacs/Gnus guess >> whether it's GB or Big5? >=20 > Surely there must be some Mule functions for guessing what charset > some text is in, but I have no idea what it's called. Anybody? `detect-coding-region' Daniel --=20 A man can no more diminish God's glory by refusing to worship Him than a lunatic can put out the sun by scribbling the word 'darkness' on the walls = of his cell.=20 -- C. S. Lewis, _The problem of pain_