From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38057 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Have Emacs guess the charset? Date: Sun, 19 Aug 2001 22:41:51 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035173698 18771 80.91.224.250 (21 Oct 2002 04:14:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:14:58 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 20344 invoked from network); 19 Aug 2001 20:42:32 -0000 Original-Received: from quimby.gnus.org (195.204.10.139) by gnus.org with SMTP; 19 Aug 2001 20:42:32 -0000 Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id WAA14397 for ding@gnus.org; Sun, 19 Aug 2001 22:42:17 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 998253736 110 195.204.10.148 (19 Aug 2001 20:42:16 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 19 Aug 2001 20:42:16 GMT Mail-Copies-To: never X-Now-Playing: Bronski Beat's _The Age Of Consent_: "I Feel Love-Johnnie Remember Me" User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ 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? 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? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen