Gnus development mailing list
 help / color / mirror / Atom feed
From: jidanni@jidanni.org
To: ding@gnus.org
Cc: yamaoka@jpl.org
Subject: Re: Character of Death locks one out of all newsgroups
Date: Sat, 03 Jan 2009 05:11:30 +0800	[thread overview]
Message-ID: <871vvlxvjx.fsf@jidanni.org> (raw)
In-Reply-To: <8763ky7qaz.fsf@marauder.physik.uni-ulm.de>

It seems the problem is that the former is called, instead of the latter:
nnrss-mime-encode-string("Re: \x2563d\x2587c&#20146;\x256cf&#32463;&#21=
nnrss-mime-encode-string("Re: \x2563d\x2587c&amp;#20146;\x256cf&amp;#32463;&amp;#21382; 3")

I.e., the correct rendering would have the ugly &s in it, as it is the
posters fault. Instead nnrss-check-group tries too hard: it first runs a
decoder over the message when it shouldn't. Otherwise the decoder gets
run twice, when it should only be run once.

So nnrss-mime-encode-string is OK, it was just being handed an overly
filtered string mangled somewhere by nnrss-check-group before it call
nnrss-mime-encode-string.

In any case, if one day there are really bad characters (and not just
ones created inside nnrss.el), "????" should be shown, and the error
caught, instead of locking one out of all newsgroups.

(Reiner, your reply got split into many mime parts (as would be expected.)



  reply	other threads:[~2009-01-02 21:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-26 21:25 jidanni
2008-12-29 22:05 ` jidanni
2009-01-01 19:57 ` Reiner Steib
2009-01-02 21:11   ` jidanni [this message]
2009-01-05  4:18 ` Katsumi Yamaoka
2009-01-05  8:00   ` Katsumi Yamaoka
2009-01-05 17:48     ` jidanni
2009-01-05 22:10       ` 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=871vvlxvjx.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --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).