[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: encoding conversion



Martin Mokrejs:
> On Thu, 9 Mar 2000, Claus Assmann wrote:
> > On Thu, Mar 09, 2000, Martin Mokrejs wrote:
> > > Hello,
> > > I have a question: the body of messages is converted from quoted-printable
> > > into 8-bit (iso-latin2), but headers including Subject: line are left in
> > > quoted-printable. Such a message is attached as example. Is this behavior
> > > correct?
> > 
> > Yes. Header lines are not allowed to contain 8 bit characters.
> 
> Hmm, so what's the reccomendation? Really to keep all messages (including
> body) in quoted-printable encoding?
> 
> So I should put more effort into pursuating my MUA to display
> quoted-printable in iso-latin2 then converting even headers into 8-bit,
> which is shown properly in Pine - am I right? ;-)

With headers there is problem that if you put raw 8-bit characters to
headers, there is no way mark character set of that.

With encoding there is problem that it is very difficult to do correct.
Ie. You need full RF822 parser so that you have able to do encoding
correctly -- I have found very many programs which do that wrong.
(As an MUA author I try to do that correctly, but I must admit that I have
 not been completely succesful :-))

Also sendmail understand nothing about header encodings.
(And on some situations it may broke header encdoing of From: -header,
 look KNOWNBUGS file.)

Look also notes about 7->8 and 8->7 conversions from KNOWNBUGS file.

/ Kari Hurtta