Gnus development mailing list
 help / color / mirror / Atom feed
* improving rfc2047 encoder
@ 2004-05-17  0:34 Katsumi Yamaoka
  2004-05-17  0:35 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2004-05-17  0:34 UTC (permalink / raw)


Hi,

I'm now working on improving the rfc2047 encoder in order to
fix a bug that it fails on Q encoding for the iso-2022-*
charsets (the default encoding is B for iso-2022-*, though).

Furthermore, the encoder divides a long Japanese text
meaninglessly when encoding.  Although it's not a bug, it annoys
me and I'm also trying to improve it.  Here's an example:

Subject: Re: =?iso-2022-jp?B?GyRCPHc4Qkw1PHcbKEI=?=
 =?iso-2022-jp?B?GyRCOEJMNTheOWUkThsoQg==?=
 =?iso-2022-jp?B?GyRCJDkkakBaJGwbKEI=?=

This header can be encoded as follows.  It still honors the
76-column rule which is described in the RFC2047 section 2.

Subject: Re: =?iso-2022-jp?B?GyRCPHc4Qkw1PHc4Qkw1OF45ZSROJDkkakBaJGwbKEI=?=

The temporary version is here:

ftp://ftp.jpl.org/pub/tmp/rfc2047.el.gz

I wish I could install it in Gnus CVS within a couple of days.

Regards,
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: improving rfc2047 encoder
  2004-05-17  0:34 improving rfc2047 encoder Katsumi Yamaoka
@ 2004-05-17  0:35 ` Lars Magne Ingebrigtsen
  2004-05-20 11:15   ` Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2004-05-17  0:35 UTC (permalink / raw)


Katsumi Yamaoka <yamaoka@jpl.org> writes:

> This header can be encoded as follows.  It still honors the
> 76-column rule which is described in the RFC2047 section 2.
>
> Subject: Re: =?iso-2022-jp?B?GyRCPHc4Qkw1PHc4Qkw1OF45ZSROJDkkakBaJGwbKEI=?=

Great!  The unnecessary folding has annoyed me, too...

> I wish I could install it in Gnus CVS within a couple of days.

Cool.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: improving rfc2047 encoder
  2004-05-17  0:35 ` Lars Magne Ingebrigtsen
@ 2004-05-20 11:15   ` Katsumi Yamaoka
  0 siblings, 0 replies; 3+ messages in thread
From: Katsumi Yamaoka @ 2004-05-20 11:15 UTC (permalink / raw)


>>>>> In <m3y8nryjo8.fsf@quimbies.gnus.org>
>>>>>	Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

>> This header can be encoded as follows.  It still honors the
>> 76-column rule which is described in the RFC2047 section 2.
>>
>> Subject: Re: =?iso-2022-jp?B?GyRCPHc4Qkw1PHc4Qkw1OF45ZSROJDkkakBaJGwbKEI=?=

> Great!  The unnecessary folding has annoyed me, too...

Thanks!  I've installed the new MIME header encoder in Gnus CVS.
Although it is probably incomplete, the new encoder is much
better than the former version.  If you feel uneasy, please type
the `C-u C-c C-m P' command in advance whenever you send mails.

Regards,

P.S. Encoding `=?foo' things in the address headers has not been
implemented yet.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-20 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-17  0:34 improving rfc2047 encoder Katsumi Yamaoka
2004-05-17  0:35 ` Lars Magne Ingebrigtsen
2004-05-20 11:15   ` Katsumi Yamaoka

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).