Compare commits

...

1 commit

Author SHA1 Message Date
2a780f9eed Fix encoding.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-05-30 12:07:58 +02:00

2
mew.pl
View file

@ -8,11 +8,13 @@
# Copyright (c) 2023 Thomas Hochstein <thh@thh.name>
use utf8;
use open qw(:std :encoding(UTF-8));
use Encode;
use MIME::QuotedPrint;
use MIME::Base64;
my $input = join (' ',@ARGV);
utf8::decode($input);
if ($input =~ /[\x80-\x{ffff}]/o) {
print encode('MIME-Q', $input);