Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus doesn't like charset=utf8
@ 2008-05-19  7:54 Steinar Bang
  2008-05-19  7:59 ` Gabor Z. Papp
  2008-05-19 17:49 ` Reiner Steib
  0 siblings, 2 replies; 7+ messages in thread
From: Steinar Bang @ 2008-05-19  7:54 UTC (permalink / raw)
  To: ding

Evolution marks up utf-8, like this:
 Content-type: text/plain; charset=utf8
and Gnus doesn't recognize this as utf-8.

RFC3626[1] lists says, in section 8:
 The charset parameter value is "UTF-8".

IANA[2] doesn't list any aliases for utf-8.

I've filed a bug report on evolution[3], but it would still be nice to
have Gnus work nicely with the Evolutions already out there.


- Steinar


[1] <http://www.faqs.org/rfcs/rfc3629.html>
[2] <http://www.iana.org/assignments/character-sets>
[3] <http://bugzilla.gnome.org/show_bug.cgi?id=533814>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus doesn't like charset=utf8
  2008-05-19  7:54 Gnus doesn't like charset=utf8 Steinar Bang
@ 2008-05-19  7:59 ` Gabor Z. Papp
  2008-05-19 17:46   ` Reiner Steib
  2008-05-19 17:49 ` Reiner Steib
  1 sibling, 1 reply; 7+ messages in thread
From: Gabor Z. Papp @ 2008-05-19  7:59 UTC (permalink / raw)
  To: ding

* Steinar Bang <sb@dod.no>:

| IANA[2] doesn't list any aliases for utf-8.

(define-coding-system-alias 'utf8 'utf-8)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus doesn't like charset=utf8
  2008-05-19  7:59 ` Gabor Z. Papp
@ 2008-05-19 17:46   ` Reiner Steib
  0 siblings, 0 replies; 7+ messages in thread
From: Reiner Steib @ 2008-05-19 17:46 UTC (permalink / raw)
  To: ding

On Mon, May 19 2008, Gabor Z. Papp wrote:

> * Steinar Bang <sb@dod.no>:
> | Evolution marks up utf-8, like this:
> |  Content-type: text/plain; charset=utf8
> | and Gnus doesn't recognize this as utf-8.

Please tell the user to report it as a bug in Evolution.

> (define-coding-system-alias 'utf8 'utf-8)

Better add (utf8 . utf-8) to `mm-charset-synonym-alist'.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus doesn't like charset=utf8
  2008-05-19  7:54 Gnus doesn't like charset=utf8 Steinar Bang
  2008-05-19  7:59 ` Gabor Z. Papp
@ 2008-05-19 17:49 ` Reiner Steib
  2008-05-19 18:45   ` Ted Zlatanov
  1 sibling, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2008-05-19 17:49 UTC (permalink / raw)
  To: ding

On Mon, May 19 2008, Steinar Bang wrote:

> I've filed a bug report on evolution[3], 

Oops, I should have read to the end before replying to Gabor.

> but it would still be nice to have Gnus work nicely with the
> Evolutions already out there.

If it becomes a more frequent mistake, we might add (utf8 . utf-8) to
the default value `mm-charset-synonym-alist'.

Mostly it was a pilot error, e.g. as discussed in
<http://thread.gmane.org/gmane.emacs.xemacs.beta/26066/focus=26089>.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus doesn't like charset=utf8
  2008-05-19 17:49 ` Reiner Steib
@ 2008-05-19 18:45   ` Ted Zlatanov
  2008-05-19 20:34     ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Ted Zlatanov @ 2008-05-19 18:45 UTC (permalink / raw)
  To: ding

On Mon, 19 May 2008 19:49:53 +0200 Reiner Steib <reinersteib+gmane@imap.cc> wrote: 

RS> If it becomes a more frequent mistake, we might add (utf8 . utf-8) to
RS> the default value `mm-charset-synonym-alist'.

Why not just do that now?  It's unlikely it will be a problem, and it's
convenient for the users.

Ted



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus doesn't like charset=utf8
  2008-05-19 18:45   ` Ted Zlatanov
@ 2008-05-19 20:34     ` Reiner Steib
  2008-05-21  9:33       ` Steinar Bang
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2008-05-19 20:34 UTC (permalink / raw)
  To: ding

On Mon, May 19 2008, Ted Zlatanov wrote:

> Reiner Steib <reinersteib+gmane@imap.cc> wrote: 
>
> RS> If it becomes a more frequent mistake, we might add (utf8 . utf-8) to
> RS> the default value `mm-charset-synonym-alist'.
>
> Why not just do that now?  It's unlikely it will be a problem, and it's
> convenient for the users.

I hesitate to pollute `mm-charset-synonym-alist' by adding entries for
each and every pilot error.

In my news spool (Usenet and lots of mailing lists from Gmane) there
are more than 65000 messages.  Only the following articles have a
bogus "utf8" charset (< 0.01%):

  Message-ID: <1210812843.2778.10.camel@localhost.localdomain>
  X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9)
  
  Message-ID: <1209541359.31036.35.camel@pancake>
  X-Mailer: Evolution 2.22.1 
  [within a multipart]
  
  Message-ID: <1208020498.2196.65.camel@localhost.localdomain>
  X-Mailer: Evolution 2.22.0 
  [within a multipart]
  
  Message-ID: <1203494405.25030.9.camel@gora.got.jeppesensystems.com>
  X-Mailer: Evolution 2.8.0 (2.8.0-40.el5) 
  
  Message-ID: <1206725412.13594.23.camel@localhost.localdomain>
  X-Mailer: Evolution 2.22.0 
  
  Message-ID: <1210906262.13406.2.camel@brad.home.bradmwalker.com>
  X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) 

All from Evolution.  According to
<http://bugzilla.gnome.org/show_bug.cgi?id=525221> it is fixed there
now.  Not adding it in `mm-charset-synonym-alist' might help to fix
broken MUAs/NUAs.  ;-)

BTW, I seem to recall that using (define-coding-system-alias 'utf8
'utf-8) might trigger Gnus into creating charset=utf8.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus doesn't like charset=utf8
  2008-05-19 20:34     ` Reiner Steib
@ 2008-05-21  9:33       ` Steinar Bang
  0 siblings, 0 replies; 7+ messages in thread
From: Steinar Bang @ 2008-05-21  9:33 UTC (permalink / raw)
  To: ding

>>>>> Reiner Steib <reinersteib+gmane@imap.cc>:

> I hesitate to pollute `mm-charset-synonym-alist' by adding entries for
> each and every pilot error.

I tend to agree with this.

If you follow the bug link, you'll see that even though Evolution had
two bugs on the issue, it turned out, in "my" case, to be a
configuration error, with unknown origin, that had survived many
Evolution upgrades.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-21  9:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-19  7:54 Gnus doesn't like charset=utf8 Steinar Bang
2008-05-19  7:59 ` Gabor Z. Papp
2008-05-19 17:46   ` Reiner Steib
2008-05-19 17:49 ` Reiner Steib
2008-05-19 18:45   ` Ted Zlatanov
2008-05-19 20:34     ` Reiner Steib
2008-05-21  9:33       ` Steinar Bang

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).