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:
parent
7a08e41148
commit
db48e5eae2
1 changed files with 1 additions and 1 deletions
2
mew.pl
2
mew.pl
|
|
@ -20,7 +20,7 @@ if ($input =~ /[\x80-\x{ffff}]/o) {
|
||||||
$output = encode('MIME-Q', $input);
|
$output = encode('MIME-Q', $input);
|
||||||
$output =~ s/=20/_/g;
|
$output =~ s/=20/_/g;
|
||||||
} else {
|
} else {
|
||||||
$output = decode('MIME-Q', $input);
|
$output = decode('MIME-Header', $input);
|
||||||
};
|
};
|
||||||
|
|
||||||
print "$output\n";
|
print "$output\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue