From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67831 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: Re: bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23 Date: Sat, 29 Nov 2008 17:14:11 -0500 Message-ID: References: <871vyf6q40.fsf@marauder.physik.uni-ulm.de> <87k5ampwej.fsf@marauder.physik.uni-ulm.de> <878wr2ohde.fsf@mocca.josefsson.org> <87d4geim7p.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227996930 10955 80.91.229.12 (29 Nov 2008 22:15:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 22:15:30 +0000 (UTC) Cc: Simon Josefsson , Frank Schmitt , Stefan Monnier , ding@gnus.org, 1174@emacsbugs.donarmstrong.com, Clemens Schueller To: Reiner Steib Original-X-From: ding-owner+M16278@lists.math.uh.edu Sat Nov 29 23:16:33 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 1L6Y77-0001gr-6G for ding-account@gmane.org; Sat, 29 Nov 2008 23:16:33 +0100 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 1L6Y5i-0000Hf-U2; Sat, 29 Nov 2008 16:15:06 -0600 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 1L6Y5g-0000HR-6T for ding@lists.math.uh.edu; Sat, 29 Nov 2008 16:15:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1L6Y5a-0002iA-4V for ding@lists.math.uh.edu; Sat, 29 Nov 2008 16:15:04 -0600 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L6Y5k-000820-00 for ; Sat, 29 Nov 2008 23:15:08 +0100 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 68692400A8; Sat, 29 Nov 2008 21:51:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1227995513; bh=XcTGJL6eGZHQG8IJgD7Bh3vqgWKado/u707fVYK3D d8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=WSefocdpt209rPNVVb6yCI5Z93yIKRva1Wuip JlcZieqIrYCVmzg0VyahfvRCFyaCZRecSF1JSbOgRweaocebboCUaP/6QpDq9IQPrOh TY7K5giWmr0Wc3LE58OhzXNB8Z8zJ4PSKxXPMvf6PlMhdw8cwDpIsI7To7VTDKZIvHM = Original-Received: by lugabout.jhcloos.org (Postfix, from userid 500) id 8A833C6F99; Sat, 29 Nov 2008 22:14:34 +0000 (UTC) In-Reply-To: <87d4geim7p.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sat, 29 Nov 2008 16:30:18 +0100") 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: 35 X-Hashcash: 1:23:081129:reiner.steib@gmx.de::agWEHKlKK5PEvNuz:000000000000000000000000000000000000000000IZad X-Hashcash: 1:23:081129:simon@josefsson.org::DzUdWYI4EQkhRg48:000000000000000000000000000000000000000000EEow X-Hashcash: 1:23:081129:ich@frank-schmitt.net::ZHNld8HUMki1/0JJ:0000000000000000000000000000000000000000LZC7 X-Hashcash: 1:23:081129:monnier@iro.umontreal.ca::3J4D8MiMNpFDQHAU:0000000000000000000000000000000000000Z1Fi X-Hashcash: 1:23:081129:ding@gnus.org::vn7pN4+bfY/A12tS:0000Y/QK X-Hashcash: 1:23:081129:1174@emacsbugs.donarmstrong.com::51QvCmsDd9hqRlzH:000000000000000000000000000000EH0o X-Hashcash: 1:23:081129:cs.usenet.nospam@aon.at::cgv2m4KAkjYOz2FI:00000000000000000000000000000000000000jm+l X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67831 Archived-At: The easiest test case are utf-8 emails which are 8bit mime and which fail to specify their charset, or specify utf-8 in some incorrect way. The most common example may be commit messgages; the scripts usually do not specify a charset since they commit messages and src could be in any encoding and they send them out as is. NB that this bug never showed up for me when using the unicode-2 branch before that was pulled into mainline. Some unibyte vs multibyte change was made after that happened which started triggering the bug. A possibly related issue is that (gnus-article-treat-dumbquotes) also does not work for me anymore. I do specify my own gnus-article-dumbquotes-map in ~/.gnus, but the syntax is the same as what is still (defvar)ed in gnus-art.el. (I use utf-8 results rather than ascii fallbacks.) The symptom is that the strings such as "\221" do not match the relevant octets in the *Article* buffer, as they used to do. This also stopped working at the same time. My goal would be for gnus to treat messages and mime blocks w/o a charset as utf-8 rather than ascii by default. That does work for qp and base64, just not for 8bitmime. Unless Stefan's patch is applied. But it also must be easy to manually tell it to use some other charset when one recognizes the need. I can use (gnus-article-view-part-as-charset) for a mime part (at least w/ Stefan's patch) but haven't managed to make that work for a message w/o any attachments or inlines. I'm running w/ Stefan's patch now and it works. I'll try a new compile tonight or tomorrow and test the committed code. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6