Gnus development mailing list
 help / color / mirror / Atom feed
* Why is UTF-8 subject base64 encoded? (ä)
@ 2003-09-18 10:37 Frank Schmitt
  2003-09-18 11:11 ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Schmitt @ 2003-09-18 10:37 UTC (permalink / raw)


Hi

I've told Gnus to use UTF-8 whenever I send a message which contains
non-ASCII characters by saying
(setq mm-coding-system-priorities '(mule-utf-8))
in .gnus.

However, there's one problem: Gnus now always uses base64 instead of
quoted printable to encode 8bit characters in the subject and other
headers. Is this a bug or wanted behavior?

-- 
Did you ever realize how much text fits in eighty columns? If you now consider
that a signature usually consists of up to four lines, this gives you enough
space to spread a tremendous amount of information with your messages. So seize
this opportunity and don't waste your signature with bullshit nobody will read.



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

* Re: Why is UTF-8 subject base64 encoded? (ä)
  2003-09-18 10:37 Why is UTF-8 subject base64 encoded? (ä) Frank Schmitt
@ 2003-09-18 11:11 ` Katsumi Yamaoka
  2003-09-18 12:39   ` Per Abrahamsen
  0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2003-09-18 11:11 UTC (permalink / raw)


Hi,

>>>>> In <u65jqmlff.fsf@mid.gehheimdienst.de>
>>>>>	Frank Schmitt <usereplyto@Frank-Schmitt.net> wrote:

> Hi

> I've told Gnus to use UTF-8 whenever I send a message which contains
> non-ASCII characters by saying
> (setq mm-coding-system-priorities '(mule-utf-8))
> in .gnus.

> However, there's one problem: Gnus now always uses base64 instead of
> quoted printable to encode 8bit characters in the subject and other
> headers. Is this a bug or wanted behavior?

rfc2047.el uses B encoding by default for the UTF-8 charset.
You can alter the behavior as following:

(eval-after-load "rfc2047"
  '(push '(utf-8 . Q) rfc2047-charset-encoding-alist))

I don't know whether that's a right thing, though.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



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

* Re: Why is UTF-8 subject base64 encoded? (ä)
  2003-09-18 11:11 ` Katsumi Yamaoka
@ 2003-09-18 12:39   ` Per Abrahamsen
  2003-09-18 16:04     ` Florian Weimer
  2003-10-17 17:50     ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Per Abrahamsen @ 2003-09-18 12:39 UTC (permalink / raw)


Katsumi Yamaoka <yamaoka@jpl.org> writes:

> I don't know whether that's a right thing, though.

I guess Q would be preferable for most latin scripts, and B for
everything else.

The best default would probably be to try both, and use whatever is
shortest.  I believe VM does that.





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

* Re: Why is UTF-8 subject base64 encoded? (ä)
  2003-09-18 12:39   ` Per Abrahamsen
@ 2003-09-18 16:04     ` Florian Weimer
  2003-10-17 17:50     ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Florian Weimer @ 2003-09-18 16:04 UTC (permalink / raw)


Per Abrahamsen <abraham@dina.kvl.dk> writes:

> The best default would probably be to try both, and use whatever is
> shortest.  I believe VM does that.

Gnus does it for text/* parts, too.



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

* Re: Why is UTF-8 subject base64 encoded? (ä)
  2003-09-18 12:39   ` Per Abrahamsen
  2003-09-18 16:04     ` Florian Weimer
@ 2003-10-17 17:50     ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-10-17 17:50 UTC (permalink / raw)


Per Abrahamsen <abraham@dina.kvl.dk> writes:

> The best default would probably be to try both, and use whatever is
> shortest.

Yup.  Fix in Gnus v5.10.3 (i. e., CVS).
-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen



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

end of thread, other threads:[~2003-10-17 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-18 10:37 Why is UTF-8 subject base64 encoded? (ä) Frank Schmitt
2003-09-18 11:11 ` Katsumi Yamaoka
2003-09-18 12:39   ` Per Abrahamsen
2003-09-18 16:04     ` Florian Weimer
2003-10-17 17:50     ` Lars Magne Ingebrigtsen

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