Gnus development mailing list
 help / color / mirror / Atom feed
* Does Gnus UTF-7?
@ 1999-07-21 10:11 Andreas J. Koenig
  1999-07-21 11:25 ` Toby Speight
  1999-08-02 12:15 ` Jon K Hellan
  0 siblings, 2 replies; 7+ messages in thread
From: Andreas J. Koenig @ 1999-07-21 10:11 UTC (permalink / raw)


I notice that I get more and more UTF-7 coded mails. For example with
such a header:

    X-Mailer: Mozilla 4.04 [en] (WinNT; I)
    Mime-Version: 1.0
    Subject: =?x-UNICODE-2-0-UTF-7?B?QUdST0ItR2VsK08yUS1l?=
    Content-Type: text/plain; charset=x-UNICODE-2-0-UTF-7
    Content-Transfer-Encoding: 7bit

Is Gnus expected to convert them for me?

IOW, is it a bug I have to track down when I actually see those ugly
+APwA3w- and +ANY- sequences or is UTF-7 support just not there?

-- 
andreas


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

* Re: Does Gnus UTF-7?
  1999-07-21 10:11 Does Gnus UTF-7? Andreas J. Koenig
@ 1999-07-21 11:25 ` Toby Speight
  1999-07-21 13:14   ` Andreas J. Koenig
  1999-08-02 12:15 ` Jon K Hellan
  1 sibling, 1 reply; 7+ messages in thread
From: Toby Speight @ 1999-07-21 11:25 UTC (permalink / raw)


Andreas> Andreas J. Koenig <URL:mailto:andreas.koenig@anima.de>

0> In <URL:news:sfcvhbegvnf.fsf@andreas.in-berlin.de>, Andreas wrote:

Andreas>     X-Mailer: Mozilla 4.04 [en] (WinNT; I)
Andreas>     Subject: =?x-UNICODE-2-0-UTF-7?B?QUdST0ItR2VsK08yUS1l?=

You've gotta laugh.  Base-64 encoding UTF-7?!



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

* Re: Does Gnus UTF-7?
  1999-07-21 11:25 ` Toby Speight
@ 1999-07-21 13:14   ` Andreas J. Koenig
  1999-07-21 13:30     ` Toby Speight
  1999-07-22 10:11     ` Hrvoje Niksic
  0 siblings, 2 replies; 7+ messages in thread
From: Andreas J. Koenig @ 1999-07-21 13:14 UTC (permalink / raw)
  Cc: ding

>>>>> On 21 Jul 1999 12:25:09 +0100, Toby Speight <Toby.Speight@streapadair.freeserve.co.uk> said:

Andreas> Andreas J. Koenig <URL:mailto:andreas.koenig@anima.de>
0> In <URL:news:sfcvhbegvnf.fsf@andreas.in-berlin.de>, Andreas wrote:

Andreas> X-Mailer: Mozilla 4.04 [en] (WinNT; I)
Andreas> Subject: =?x-UNICODE-2-0-UTF-7?B?QUdST0ItR2VsK08yUS1l?=

 > You've gotta laugh.  Base-64 encoding UTF-7?!

That's a valid word according to RFC 2047 (MIME Part Three: Message
Header Extensions for Non-ASCII Text). The construct is

    encoded-word = "=?" charset "?" encoding "?" encoded-text "?="

Charset: x-UNICODE-2-0-UTF-7
Encoding: B (which is BASE64)
String as UTF-7: AGROB-Gel+O2Q-e

Trying to translate the UTF-7-string to latin isn't possible, but this
wasn't my point. I was mainly interested if UTF-7 support is there.
Now I see, I really asked two questions, the second was if RFC 2047
parsing is intended to be there.

-- 
andreas


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

* Re: Does Gnus UTF-7?
  1999-07-21 13:14   ` Andreas J. Koenig
@ 1999-07-21 13:30     ` Toby Speight
  1999-07-21 16:30       ` Toby Speight
  1999-07-22 10:11     ` Hrvoje Niksic
  1 sibling, 1 reply; 7+ messages in thread
From: Toby Speight @ 1999-07-21 13:30 UTC (permalink / raw)


Andreas> Andreas J. Koenig <URL:mailto:andreas.koenig@anima.de>

[please respect the Mail-Copies-To header]


0> In <URL:news:sfcvhbegvnf.fsf@andreas.in-berlin.de>, Andreas wrote:

Andreas> X-Mailer: Mozilla 4.04 [en] (WinNT; I)
Andreas> Subject: =?x-UNICODE-2-0-UTF-7?B?QUdST0ItR2VsK08yUS1l?=

>>>>> On 21 Jul 1999 12:25:09 +0100, Toby Speight
>>>>> <Toby.Speight@streapadair.freeserve.co.uk> said:
>>
>> You've gotta laugh.  Base-64 encoding UTF-7?!

0> In article <sfcn1wqgn6u.fsf@andreas.in-berlin.de>, Andreas wrote:

Andreas> That's a valid word according to RFC 2047 (MIME Part Three:
Andreas> Message Header Extensions for Non-ASCII Text).

Yes, I'm aware.  It just seems wasteful for NS to write the above when
=?x-UNICODE-2-0-UTF-7?Q?AGROB-Gel+O2Q-e?= is less bloated.  It's just
*weird* to base64-encode something which is 7-bit-clean (as UTF-7 is).


Andreas> Trying to translate the UTF-7-string to latin isn't possible,
Andreas> but this wasn't my point. I was mainly interested if UTF-7
Andreas> support is there.

Sorry, I wasn't trying to answer your question (I don't know whether
we support UTF-7, but I believe we ought to).  I was just diving down
a side-track.



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

* Re: Does Gnus UTF-7?
  1999-07-21 13:30     ` Toby Speight
@ 1999-07-21 16:30       ` Toby Speight
  0 siblings, 0 replies; 7+ messages in thread
From: Toby Speight @ 1999-07-21 16:30 UTC (permalink / raw)


Toby> Toby Speight
Toby> <URL:mailto:Toby.Speight@streapadair.freeserve.co.uk>

0> In <URL:news:uhfmyqgdy.fsf@lanber.cam.citrix.com>, Toby wrote:

Toby> [please respect the Mail-Copies-To header]

I've been reminded that I only set this for news, and since I send to
this list via SMTP (though I read via NNTP), the Mail-Copies-To header
isn't present.  Sorry, Andreas.



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

* Re: Does Gnus UTF-7?
  1999-07-21 13:14   ` Andreas J. Koenig
  1999-07-21 13:30     ` Toby Speight
@ 1999-07-22 10:11     ` Hrvoje Niksic
  1 sibling, 0 replies; 7+ messages in thread
From: Hrvoje Niksic @ 1999-07-22 10:11 UTC (permalink / raw)


andreas.koenig@anima.de (Andreas J. Koenig) writes:

> >>>>> On 21 Jul 1999 12:25:09 +0100, Toby Speight <Toby.Speight@streapadair.freeserve.co.uk> said:
> 
> Andreas> Andreas J. Koenig <URL:mailto:andreas.koenig@anima.de>
> 0> In <URL:news:sfcvhbegvnf.fsf@andreas.in-berlin.de>, Andreas wrote:
> 
> Andreas> X-Mailer: Mozilla 4.04 [en] (WinNT; I)
> Andreas> Subject: =?x-UNICODE-2-0-UTF-7?B?QUdST0ItR2VsK08yUS1l?=
> 
>  > You've gotta laugh.  Base-64 encoding UTF-7?!
> 
> That's a valid word according to RFC 2047

You missed the joke.  Of course it's valid, but it's also weird
because there is normally no need to encode UTF-7 at all -- it's a
7bit encoding /per se/.


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

* Re: Does Gnus UTF-7?
  1999-07-21 10:11 Does Gnus UTF-7? Andreas J. Koenig
  1999-07-21 11:25 ` Toby Speight
@ 1999-08-02 12:15 ` Jon K Hellan
  1 sibling, 0 replies; 7+ messages in thread
From: Jon K Hellan @ 1999-08-02 12:15 UTC (permalink / raw)


andreas.koenig@anima.de (Andreas J. Koenig) writes:

> I notice that I get more and more UTF-7 coded mails. For example with
> such a header:
> 
>     X-Mailer: Mozilla 4.04 [en] (WinNT; I)
>     Mime-Version: 1.0
>     Subject: =?x-UNICODE-2-0-UTF-7?B?QUdST0ItR2VsK08yUS1l?=
>     Content-Type: text/plain; charset=x-UNICODE-2-0-UTF-7
>     Content-Transfer-Encoding: 7bit
> 
> Is Gnus expected to convert them for me?
> 
> IOW, is it a bug I have to track down when I actually see those ugly
> +APwA3w- and +ANY- sequences or is UTF-7 support just not there?

I recently implemented UTF-7 encoding/decoding. It is distributed with
recent nnimap distributions
("http://www.extundo.com/nnimap/nnimap.tar.gz").

Code to interface with gnus is obviously not there.

I did the shortcut of assuming a latin-1 environment, but it should
be easy to extend to Unicode once that becomes available in Emacs.

Jon


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

end of thread, other threads:[~1999-08-02 12:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-21 10:11 Does Gnus UTF-7? Andreas J. Koenig
1999-07-21 11:25 ` Toby Speight
1999-07-21 13:14   ` Andreas J. Koenig
1999-07-21 13:30     ` Toby Speight
1999-07-21 16:30       ` Toby Speight
1999-07-22 10:11     ` Hrvoje Niksic
1999-08-02 12:15 ` Jon K Hellan

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