Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: rms@gnu.org,  bsam@ipt.ru,  ding@gnus.org
Subject: Re: gnus: incorrect conversion of Subject and From field from utf-8 to koi8-r
Date: Sat, 15 Oct 2005 19:06:52 +0900	[thread overview]
Message-ID: <b4md5m7p003.fsf@jpl.org> (raw)
In-Reply-To: <E1EQhkN-0001aF-00@etlken>

>>>>> In <E1EQhkN-0001aF-00@etlken> Handa-san wrote:

>> 5. Use of encoded-words in message headers

>> [...]

>>    The 'encoded-text' in an 'encoded-word' must be self-contained;
>>    'encoded-text' MUST NOT be continued from one 'encoded-word' to
>>    another.  This implies that the 'encoded-text' portion of a "B"
>>    'encoded-word' will be a multiple of 4 characters long; for a "Q"
>>    'encoded-word', any "=" character that appears in the 'encoded-text'
>>    portion will be followed by two hexadecimal characters.

>> The encoded-words that Boris B. Samorodov presented comes just
>> under this case.  Even so, should Gnus support such encodings?

>>>  Subject: =?UTF-8?B?W2lwdC5ydSAjMTYzXSDQkNCy0YLQvtCe0YLQstC10YI6INCc0KHQmjog0KHQ?= =?UTF-8?B?nyDRgtC10YHRgg==?=

> This example doesn't violate the above restriction.  Each
> 'encoded-word' is surely "multiple of 4 characters long".

> Please note that the above restriction is for
> 'encoded-text', not for the underlining coded character set.
> So, I think the above document doesn't prohibit diviging
> UTF-8 byte sequence at non-character boundary.

I agree.  Thank you for clarifying it.  I've committed your
patch to cvs.gnus.org with small modifications.  It will be
propagated to Emacs soon.



  reply	other threads:[~2005-10-15 10:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1EQHq4-0002rQ-EC@fencepost.gnu.org>
     [not found] ` <E1EQPSa-0006iC-00@etlken>
2005-10-14 16:51   ` Katsumi Yamaoka
2005-10-15  0:46     ` Kenichi Handa
2005-10-15  8:28       ` Katsumi Yamaoka
2005-10-15  8:50         ` Kenichi Handa
2005-10-15 10:06           ` Katsumi Yamaoka [this message]
2005-10-16  0:25             ` Kenichi Handa
2005-10-18 18:20             ` Boris Samorodov
2005-10-19  4:12               ` Katsumi Yamaoka
2005-10-19 20:16                 ` Richard M. Stallman
     [not found] <E1EQ6NU-000GJF-2s@bsam.ru>
2005-10-13 18:26 ` Reiner Steib

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=b4md5m7p003.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=bsam@ipt.ru \
    --cc=ding@gnus.org \
    --cc=rms@gnu.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).