mew: Decoding does B as well as Q.

MIME-Q and MIME-Header will work the
same for decoding, but the latter
makes that easier to see.

Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
Thomas Hochstein 2026-05-30 12:55:27 +02:00
parent 7a08e41148
commit db48e5eae2

2
mew.pl
View file

@ -20,7 +20,7 @@ if ($input =~ /[\x80-\x{ffff}]/o) {
$output = encode('MIME-Q', $input);
$output =~ s/=20/_/g;
} else {
$output = decode('MIME-Q', $input);
$output = decode('MIME-Header', $input);
};
print "$output\n";