Christophe TROESTLER | 28 Feb 2012 18:33
X-Face
Picon

[mew-int 3044] Charset (UTF-8) for body is mis-matched.

Hi,

For the attached message, Mew says "Charset (UTF-8) for body is
mis-matched.".  However, if I save the body of the message and display
it in UTF-8, the text is fine.  What is origin of the problem and how
can I correct it?

Best,
C.
Picon
From: Jeudis du Libre Belgique <organisation <at> jeudisdulibre.be>
Subject: =?UTF-8?Q?Le_1er_mars_2012, _aux_Jeudis_du_Libre_de_Bruxelles_il_sera_ques?= tion d’e-learning.
Date: 2012-02-27 15:13:03 GMT

Le 1er mars 2012, aux Jeudis du Libre de Bruxelles il sera question d’e-learning.

  • Le sujet de cette séance : Chamilo : c’est pas le Pérou! (e-learning)
  • Thématique : éducation, communauté
  • Public : enseignants, développeurs, (Continue reading)

Harald Hanche-Olsen | 28 Feb 2012 18:43
Picon
Picon
Favicon
Gravatar

[mew-int 3045] Re: Charset (UTF-8) for body is mis-matched.

[Christophe TROESTLER <Christophe.Troestler <at> umons.ac.be> (2012-02-28 17:33:08 UTC)]

> For the attached message, Mew says "Charset (UTF-8) for body is
> mis-matched.".  However, if I save the body of the message and display
> it in UTF-8, the text is fine.  What is origin of the problem and how
> can I correct it?

It seems to me that the signature block in that message contains some
latin-1 encoded text:

  Pour transf&eactue;rer le message à quelqu'un cliquez-ici

- Harald

Christophe TROESTLER | 28 Feb 2012 18:51
X-Face
Picon

[mew-int 3046] Re: Charset (UTF-8) for body is mis-matched.

On Tue, 28 Feb 2012 18:43:47 +0100, Harald Hanche-Olsen wrote:
> 
> [Christophe TROESTLER <Christophe.Troestler <at> umons.ac.be> (2012-02-28 17:33:08 UTC)]
> 
> > For the attached message, Mew says "Charset (UTF-8) for body is
> > mis-matched.".  However, if I save the body of the message and display
> > it in UTF-8, the text is fine.  What is origin of the problem and how
> > can I correct it?
> 
> It seems to me that the signature block in that message contains some
> latin-1 encoded text:
> 
>   Pour transf&eactue;rer le message à quelqu'un cliquez-ici

Correct.  But why the rest of the message is not decoded properly?
Even if I try to force UTF-8, it does not work.  The message "Charset
(UTF-8) for body is mis-matched." is OK and informative as long as Mew
decodes (tries to decode) the part that is correct.

Tatsuya Kinoshita | 29 Feb 2012 10:11
Picon

[mew-int 3047] Re: Charset (UTF-8) for body is mis-matched.

On February 28, 2012, [mew-int 3046],
Christophe.Troestler (at umons.ac.be) wrote:

> Correct.  But why the rest of the message is not decoded properly?
> Even if I try to force UTF-8, it does not work.

`C-u C-c C-l utf-8 RET' works for me.

Examples:
  - Type `C-u C-c C-l utf-8 RET' to force UTF-8
  - Type `C-c C-l utf-8 RET' to prefer UTF-8
  - Type `C-c C-l Chinese-GBK RET' to prefer Chinese encodings

Thanks,
--

-- 
Tatsuya Kinoshita


Gmane