[Exim] weird From: line with diacritics

Top Page
Delete this message
Reply to this message
Author: Petr ?ech
Date:  
To: exim-users
Subject: [Exim] weird From: line with diacritics
Hi,
I've been looking for the cause of corupted From: line when sending mail from
my computer running exim. Instead of "Petr \v Cech" (TeX notation) i get
"Petr ?ech" which is ugly. I've trace this problem down to exim and
specificaly exim.c:2553 - it corectly gets the name from /etc/passwd, but
mangels it, unless print_topbitchars is set. That's a bug IMHO.

1) when it's not set, then the name with >127 chars gets mangled
2) when it is set, than it sends the From: line unescaped. The To: line
gets escaped with mutt as "=?iso-8859-2?Q?Petr_=C8ech?=".

The work-around is to set custom From: header, but then again exim adds
the Sender: header with (again) unescaped "Petr \v Cech".

Could this be, at least, somewhere documented? There are surely many people
who have >127 in fullnames in passwd.

                Petr Cech
-- 
Debian GNU/Linux maintainer - www.debian.{org,cz}
           cech@???