Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: rfc2047 decoding
Date: Wed, 06 Jan 2016 23:01:39 +0100	[thread overview]
Message-ID: <8737uawenw.fsf@tullinup.koldfront.dk> (raw)

What is the correct decoding of this header:

Subject: =?UTF-8?Q?Hackerangreb=20mod=20it=2Dl?=
 =?UTF-8?Q?everand=C3=B8r=20bag=20app=20ti?= =?UTF-8?Q?l=20DSB?='
 =?UTF-8?Q?s=20gr=C3=A6nsekontrol?=

Is it:

 "Hackerangreb mod it-leverandør bag app til DSB' s grænsekontrol" - or:
 "Hackerangreb mod it-leverandør bag app til DSB's grænsekontrol" ?

Gnus decodes it to the first line. So I'm inclined to think that is
correct.

Perl's Encode::MIME::Header decodes it to the second line. But it also
encoded the text in the first place, so I guess it {s,w}ould roundtrip.

What gives?


  Best regards,

    Adam, who is ready to weep about rfc2047 apparently being too hard
          to get right.

-- 
 "Where the world is going?                                   Adam Sjøgren
  Back to where it once was"                             asjo@koldfront.dk




             reply	other threads:[~2016-01-06 22:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06 22:01 Adam Sjøgren [this message]
2016-01-06 22:30 ` Bjørn Mork
2016-01-06 23:02   ` Adam Sjøgren
2016-01-26 20:59     ` Adam Sjøgren
2016-01-07  0:45 ` 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=8737uawenw.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --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).