From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67112 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: Re: bug#464: 23.0.60; [Regression] Implicit utf-8 no longer correctly decoded in gnus Date: Thu, 03 Jul 2008 17:08:09 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215119432 30043 80.91.229.12 (3 Jul 2008 21:10:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 21:10:32 +0000 (UTC) Cc: Stefan Monnier , ding@gnus.org To: 464@emacsbugs.donarmstrong.com Original-X-From: ding-owner+M15576@lists.math.uh.edu Thu Jul 03 23:11:17 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KEW5A-000733-4i for ding-account@gmane.org; Thu, 03 Jul 2008 23:11:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KEW49-0002Gw-Az; Thu, 03 Jul 2008 16:10:09 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KEW47-0002Gg-K9 for ding@lists.math.uh.edu; Thu, 03 Jul 2008 16:10:07 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1KEW41-0003pr-KW for ding@lists.math.uh.edu; Thu, 03 Jul 2008 16:10:07 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KEW4L-0007y3-00 for ; Thu, 03 Jul 2008 23:10:21 +0200 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 95F18401A7; Thu, 3 Jul 2008 21:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1215119398; bh=c4+kGXBNs4FsL5TtCfG8Yri4ucEuMgPN0WVkcfhWW ak=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=FtedkoKmcz0x62fJcMN5AB35kKmn391J0rwMg IIIBpA/QENT2dMYbDSCNcXE60eOEjDWF2eSWdW3Nsn+l1Pnp0phLE60cE9iFOXdLDsr N91311uA2HeydxXBnenYTDyi+jp4RWB5EQORHBmCSNaHtNEALCvTIx9/uocGaM1v9rE = Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id AC904210687; Thu, 3 Jul 2008 21:08:33 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2008 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 24 X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67112 Archived-At: I figured out the difference. If the mail has a transfer encoding of base64 it works correctly. If it is 8bit the decoding fails. I haven't hit on a utf-8 quoted-printable so am not yet sure whether those work, but I suspect they would. This suggests the unibyte vs multibyte change that occurred a few weeks back is the culprit. The raw message probably needs to be multibyte iff the encoding is 8bit and the charset is anything which might use more than 8 bits per character, including at least the utf encodings of the UCS and the various CJK character sets. I'll try out (imap-disable-multibyte)=B9 and (set-buffer-multibyte) to se= e whether those make any difference on such emails. -JimC 1] Incidently, it seems odd that (imap-disable-multibyte)'s help text says that it will: "Enable multibyte in the current buffer." --=20 James Cloos OpenPGP: 1024D/ED7DAEA6