nmh-workers
[Top] [All Lists]

Re: Bug reported regarding Unicode handling in email address

2021-06-10 17:17:02
Probably, but which process?   How do we know what created it?  There's
no requirement that it be sent any time soon after it was composed - with
just the draft file there's not a lot of leeway, but we support drafts in
a folder, and there there can be lots waiting to be sent.   My drafts/1
file is from 1997 ... drafts/10 is from 2002, and drafts/100 from early April
(this year).   One day I might send some of those messages...

I feel compelled to point out that when we find 8-bit characters we use
the user's locale to find the character set to construct the appropriate
MIME headers.  So if your 24 year old draft (really?) was edited using
ISO8859-1 because it pre-dates UTF-8 (fine, UTF-8 was invented in 1993,
but RFC 2277 didn't come out until 1998) but you've changed your locale
to use UTF-8, then nmh has no way of knowing that.  In theory I suppose
we could look at the draft and try to take a guess ... but I think that
way lies madness.

--Ken

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