ietf-822
[Top] [All Lists]

Re: Problems with RFC 2047

2003-03-09 12:26:44

On Sun, 9 Mar 2003 20:13:52 +0100
Jacob Palme <jpalme(_at_)dsv(_dot_)su(_dot_)se> wrote:


A message I sent recently contained the following subject:

Subject: Tid fär nästa möte med CMC-forskargruppen

It was sent as follows:

Subject: Tid =?iso-8859-1?Q?f=E4r?= =?iso-8859-1?Q?_?=
 =?iso-8859-1?Q?n=E4sta?= =?iso-8859-1?Q?_?=
 =?iso-8859-1?Q?m=F6te?= med CMC-forskargruppen

And when I received the same message, the subject looked 
like follows:

Subject: Tid fär 
 nästa 
 möte med CMC-forskargruppen

The cause of the problems seems to be that RFC2047 makes 
the subject much longer,

well, RFC 2047 states that any white space between adjacent encoded-words
is to be ignored when decoding.  so this is a bug in your mail reader.

I'll also note that it's encoding routines, while correct, seem to be
producing very sub-optimal output.

Subject: Tid =?iso-8859-1?Q?f=E4r_N=E4sta_m=F6te?= med CMC-forskargruppen

is a valid encoding of the same string.

Keith

<Prev in Thread] Current Thread [Next in Thread>