Gnus development mailing list
 help / color / mirror / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: Reiner Steib <Reiner.Steib@gmx.de>
Cc: Simon Josefsson <simon@josefsson.org>,
	 Frank Schmitt <ich@frank-schmitt.net>,
	 Stefan Monnier <monnier@iro.umontreal.ca>,
	 ding@gnus.org,  1174@emacsbugs.donarmstrong.com,
	 Clemens Schueller <cs.usenet.nospam@aon.at>
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	[thread overview]
Message-ID: <m3bpvygoxh.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <87d4geim7p.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sat, 29 Nov 2008 16:30:18 +0100")

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 <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6





  parent reply	other threads:[~2008-11-29 22:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m37i89boe6.fsf@mid.gehheimdienst.de>
     [not found] ` <jeabd5vvug.fsf@sykes.suse.de>
     [not found]   ` <m363ntey23.fsf@mid.gehheimdienst.de>
     [not found]     ` <u63nso2wk.fsf@gnu.org>
     [not found]       ` <jebpxjvd53.fsf@sykes.suse.de>
     [not found]         ` <m3ej2fd2o0.fsf@mid.gehheimdienst.de>
     [not found]           ` <umyh3mttj.fsf@gnu.org>
     [not found]             ` <m33aivfsa8.fsf@mid.gehheimdienst.de>
     [not found]               ` <jwv8wsnjknd.fsf-monnier+emacsbugreports@gnu.org>
2008-10-17 18:19                 ` Reiner Steib
2008-10-17 18:36                   ` Frank Schmitt
2008-11-29 12:08                     ` Reiner Steib
2008-11-29 12:18                       ` Simon Josefsson
2008-11-29 15:30                         ` Reiner Steib
2008-11-29 21:30                           ` Stefan Monnier
2008-11-30 13:12                             ` Reiner Steib
2008-11-29 22:14                           ` James Cloos [this message]
2008-11-30 13:11                             ` View articles with different charset (was: bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23) Reiner Steib
2008-11-30 21:23                               ` View articles with different charset James Cloos
2009-01-12 10:54                         ` bug#1174: 23.0.60; Some UTF-8 mails displaying wrongly in Emacs 23 Simon Josefsson
2009-01-12 11:03                           ` Frank Schmitt
2009-01-12 11:10                             ` Simon Josefsson
2009-01-14 11:20                               ` Gabor Z. Papp
2009-01-14 20:12                                 ` Reiner Steib
2009-01-14 22:08                                   ` Stefan Monnier
2008-12-01 21:04                       ` Stefan Monnier
2008-12-01 22:48                         ` Reiner Steib
2008-12-02  7:36                           ` Stefan Monnier
2008-12-04 19:43                             ` Reiner Steib
2008-12-04 21:43                               ` Frank Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3bpvygoxh.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=1174@emacsbugs.donarmstrong.com \
    --cc=Reiner.Steib@gmx.de \
    --cc=cs.usenet.nospam@aon.at \
    --cc=ding@gnus.org \
    --cc=ich@frank-schmitt.net \
    --cc=monnier@iro.umontreal.ca \
    --cc=simon@josefsson.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).