From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50697 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: charset=macintosh Date: Sat, 08 Mar 2003 20:52:11 +0100 Organization: http://purl.org/harder/ Sender: owner-ding@hpc.uh.edu Message-ID: References: <843clxud7u.fsf@lucy.is.informatik.uni-duisburg.de> <86k7f9g8sb.fsf@ieee.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1047153385 14742 80.91.224.249 (8 Mar 2003 19:56:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2003 19:56:25 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Sat Mar 08 20:56:23 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18rkQh-0003pV-00 for ; Sat, 08 Mar 2003 20:56:23 +0100 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 18rkP0-0003b9-00; Sat, 08 Mar 2003 13:54:38 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 08 Mar 2003 13:55:39 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA12503 for ; Sat, 8 Mar 2003 13:55:24 -0600 (CST) Original-Received: (qmail 50796 invoked by alias); 8 Mar 2003 19:54:20 -0000 Original-Received: (qmail 50791 invoked from network); 8 Mar 2003 19:54:19 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 8 Mar 2003 19:54:19 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18rkjW-00084j-00 for ; Sat, 08 Mar 2003 21:15:50 +0100 Original-To: ding@gnus.org Original-Path: localhost.localdomain!nobody Original-Newsgroups: gnus.ding Original-Lines: 16 Original-NNTP-Posting-Host: 0xc3f98208.esnxr3.ras.tele.dk Original-X-Trace: quimby.gnus.org 1047154550 31042 195.249.130.8 (8 Mar 2003 20:15:50 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 8 Mar 2003 20:15:50 GMT X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; writes: > For articles without MIME tags, in groups not in g-g-c-a, it would be > nice if Gnus could guess better -- like trying to UTF-8 decode it, > which typically only fails when data wasn't UTF-8 encoded, and then go > on and try other encodings. Emacs' decoding functions behave a little > strange, but onces fixed Gnus should be able to do this. Currently they're not good enough, IMHO. Here's an example: (detect-coding-string (encode-coding-string "dk.test.utf8-זרו" 'utf-8)) => (iso-latin-1 iso-latin-1 raw-text japanese-shift-jis chinese-big5 no-conversion mule-utf-8) The correct answer is last in the list.