Gnus development mailing list
 help / color / mirror / Atom feed
From: Vladimir Volovich <vvv@vvv.vsu.ru>
Subject: word-encoder creates short lines; possible bug in encoder
Date: 01 Jun 2000 13:54:41 +0400	[thread overview]
Message-ID: <eyd7m1k9pa.fsf@video.uic.vsu.ru> (raw)

Hi!

1. when gnus uses encoded-word encoding (of type B or Q) in headers,
it tends to create more short lines than necessary. Say, i received a
message with subject:

Subject: =?koi8-r?B?Iu7P18HRINDB0sHEycfNwSDEzNEg09TB0s/KINTFz9LJySI=?=

when replying to this message, gnus created a subject like:

Subject: Re: "=?koi8-r?b?7s/XwdEg0MHSwcTJx83B?=
 =?koi8-r?b?IMTM0SDT1MHSz8og1MXP?=
 =?koi8-r?b?0snJ?="

it seems that gnus used AT LEAST one extra line, creating short lines
in headers. Is it possible to change the function which encodes
headers to use optimal line number (i.e. try to use the smallest
possible number of lines, breaking only really wide lines)?

2. AFAIR, RFC says that encoded-word should not appear inside quotes.
is the above header (created by gnus) correct in this respect?
i mean "=?koi8-r?b? .... ?="
should the quotes be "hidden" inside encoded-word?

3. maybe, gnus should switch to SEMI library (SEMI is Emacs MIME
   Interfaces) which provides basic fubctions e.b. for word-encoding,
   etc.  Because AFAIK SEMI is very strict WRT RFC-compliance.

Best,
v.




             reply	other threads:[~2000-06-01  9:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-01  9:54 Vladimir Volovich [this message]
2000-06-01 14:33 ` Shenghuo ZHU

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=eyd7m1k9pa.fsf@video.uic.vsu.ru \
    --to=vvv@vvv.vsu.ru \
    /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).