#928430 mutt: should be able to decode headers using ks_c_5601-1987

Package:
mutt
Source:
mutt
Description:
text-based mailreader supporting MIME, GPG, PGP and threading
Submitter:
Uwe Kleine-Kønig
Date:
2026-06-24 01:21:01 UTC
Severity:
normal
Tags:
#928430#5
Date:
2019-05-04 13:22:51 UTC
From:
To:
Hello,

I recently got an email from a guy using Outlook and the mail's From
header was encoded using ks_c_5601-1987.

It looked as follows in raw:

	From: =?ks_c_5601-1987?B?U6mqcmVuIExhc3RuYW1l?= <soren@example.com>

and mutt failed to properly display it. It shows as as

	S��ren Lastname

. Using Thunderbird the name is fine there.

I tried to do the same with this email encoding my name in
ks_c_5601-1987 to demonstrate the issue, I hope I didn't mess up.

Would be great if this could be fixed in mutt.

Not knowing how that decoding works, quick googling suggests that an
alternative name for "ks_c_5601-1987" is "uhc" and with this my system's
iconv can properly decode the name:

	$ base64 -d <<< U6mqcmVuIExhc3RuYW1l | iconv -f uhc; echo
	Søren Lastname

Best regards
Uwe