Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Cc: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Double encoding in ~/Mail/active
Date: Sun, 01 Aug 2010 09:55:19 +0200	[thread overview]
Message-ID: <877hkasr6g.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <878w4qoqe7.fsf@topper.koldfront.dk>

Ok, I have gotten further with this. After a regenerate on the nnml:
server, my nnml:hyskenstræde group is listed like this in ~/Mail/active:

  $ grep hysken Mail/active | hexdump -C
  00000000  68 79 73 6b 65 6e 73 74  72 c3 a6 64 65 20 32 36  |hyskenstr..de 26|
  00000010  20 31 20 79 0a                                    | 1 y.|
  00000015
  $

UTF-8 encoded 'æ'; looks correct.

After receiving an email in Gnus, this happens:

  $ grep hysken Mail/active | hexdump -C
  00000000  68 79 73 6b 65 6e 73 74  72 c3 83 c2 a6 64 65 20  |hyskenstr....de |
  00000010  32 36 20 31 20 79 0a                              |26 1 y.|
  00000017
  $ 

Double encoding!

Everytime I 'g'et new email, I get an extra level of encoding. I.e. two
fetches of email later, this is what it looks like:

  $ grep hysken Mail/active | hexdump -C
  00000000  68 79 73 6b 65 6e 73 74  72 c3 83 c2 83 c3 82 c2  |hyskenstr.......|
  00000010  83 c3 83 c2 82 c3 82 c2  a6 64 65 20 32 36 20 31  |.........de 26 1|
  00000020  20 79 0a                                          | y.|
  00000023
  $ 

This is with XEmacs 21.5 (beta29) "garbanzo" bc6a5c7f4128+ and No Gnus
v0.11 (latest git).

If I revert f24a49038102c4566d5f8ba1ce1ff2156cff6ed5 the double, triple,
etc. encoding doesn't happen.

It looks like something is amiss with that latest commit?


  Best regards,

    Adam

-- 
 "We get our thursdays from a banana."                        Adam Sjøgren
                                                         asjo@koldfront.dk




  reply	other threads:[~2010-08-01  7:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-31 14:03 Stack overflow: Stack overflow in regexp matcher Adam Sjøgren
2010-07-31 22:02 ` Adam Sjøgren
2010-08-01  5:25 ` Adam Sjøgren
2010-08-01  7:55   ` Adam Sjøgren [this message]
2010-08-01 10:58     ` Double encoding in ~/Mail/active Katsumi Yamaoka
2010-08-01 11:13       ` Adam Sjøgren
2010-08-02  0:14         ` Katsumi Yamaoka
2010-08-02 21:43           ` Adam Sjøgren
2010-08-02 23:21             ` Katsumi Yamaoka
2010-08-03  5:54               ` Adam Sjøgren
2010-08-04  0:38                 ` Katsumi Yamaoka

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=877hkasr6g.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    --cc=yamaoka@jpl.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).