Gnus development mailing list
 help / color / mirror / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: ding@gnus.org
Subject: Re: Automatic decoding of charsets
Date: Mon, 26 Sep 2011 15:12:06 +0200	[thread overview]
Message-ID: <87k48vphw9.fsf@free.fr> (raw)
In-Reply-To: <87ehz3sldx.fsf@topper.koldfront.dk> ("Adam \=\?utf-8\?Q\?Sj\?\= \=\?utf-8\?Q\?\=C3\=B8gren\=22's\?\= message of "Mon, 26 Sep 2011 11:28:26 +0200")

[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Mon, 26 Sep 2011 11:10:36 +0200, Julien wrote:
>
>> Since switching from Gnus 5.13 to Nognus 0.18, charsets are often not
>> decoded in the articles I receive: accented characters are displayed as
>> "\351" for "é" for example. W-M-c fixes it (gnus-article-decode-charset)
>> but I'd like to automate the process. I tried :
>> ,----
>> | (add-hook 'gnus-Article-prepare-hook 'gnus-article-decode-charset)
>                     ^
>                    If that uppercase A isn't just a typo in your
> article, I think that might be why your workaround didn't work.

It wasn't a typo... I had copied the hook name from a web page. The hook
works now with 
,----
| (add-hook 'gnus-Article-prepare-hook 'gnus-article-decode-charset)
`----
 but it's not a satisfying solution : I noticed that I loose the ability
 to click on buttons for attachments, the fontifying of citations and so
 on... 

>> What could I do ? And what did change in Gnus to cause this ?
>
> If you could provide an example of an article where it happens, other
> people could try and reproduce the problem, and that might shed some
> light on it.

Here is an example of such an article, attached as a text file (I
removed some headers). Let me know if some other headers are needed and
if there is a better way to attach the file.

Best Regards,

Julien.

[-- Attachment #2: test2.mail --]
[-- Type: application/octet-stream, Size: 2009 bytes --]

MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="_=_swift_v4_13167084834e7b6083a32ff_=_"


--_=_swift_v4_13167084834e7b6083a32ff_=_ Content-type: text/plain Content-transfer-encoding: quoted-printable



=20 =C2=A0 =20 Les inscriptions au 59=C2=B0 co= ngr=C3=A8s des professeurs de physique et de chimie organis=C3=A9 par = l'UdPPC sont ouvertes et le paiement par carte bancaire est op=C3=A9ra= tionnel !  =20 A vos clics !  =20 http://montpellier2011.udp= pc.asso.fr/ =20 Christophe REY =20 Micheline Izbicki


--_=_swift_v4_13167084834e7b6083a32ff_=_ Content-type: text/html Content-transfer-encoding: quoted-printable

<p style=3D"text-align: left;"><img src=3D"http://udp-bup.org/images/log= o.png" alt=3D"logo udppc" width=3D"201" height=3D"55" /></p> <p st= yle=3D"text-align: left;">&nbsp;</p> <p><span style=3D"font-size: sm= all;">Les inscriptions au 59&deg; congr&egrave;s des professeurs de phys= ique et de chimie organis&eacute; par l'UdPPC sont ouvertes et le paieme= nt par carte bancaire est op&eacute;rationnel !</span></p> <p style=3D= "text-align: center;"><span style=3D"font-size: small;">A vos clics
!</spa=
n></p>
<p style=3D"text-align: center;"><span style=3D"font-size: sm= all;"><span style=3D"font-family: Times New Roman','serif'; color: red; f= ont-size: 12pt;"><a title=3D"http://udppc.asso.fr/" href=3D"http://montp= ellier2011.udppc.asso.fr/"><span style=3D"font-family: Comic Sans MS'; co= lor: red; font-size: 10pt;">http://montpellier2011.udppc.asso.fr/</span>= </a></span></span></p> <p style=3D"text-align: center;"><span styl= e=3D"color: #000000; font-size: small;"><span style=3D"font-family:
Tim= es New Roman','serif'; font-size: 12pt;">Christophe REY</span></span></p= > <p style=3D"text-align: center;"><span style=3D"font-size: small;= "><span style=3D"font-family: Times New Roman','serif'; color: red; font-= size: 12pt;"><span style=3D"color: #000000;">Micheline Izbicki</span></spa=
n></span></p>

--_=_swift_v4_13167084834e7b6083a32ff_=_--

  reply	other threads:[~2011-09-26 13:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26  9:10 Julien Cubizolles
2011-09-26  9:28 ` Adam Sjøgren
2011-09-26 13:12   ` Julien Cubizolles [this message]
2011-09-26 19:01     ` Lars Magne Ingebrigtsen
2011-09-26 21:23       ` Julien Cubizolles
2011-09-26 21:35         ` Lars Magne Ingebrigtsen
2011-09-26 19:08     ` Adam Sjøgren
2011-09-26 21:29       ` Julien Cubizolles

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=87k48vphw9.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=ding@gnus.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).