I don't understand. Why do you think that Encode::decode('MIME-Header',$str) is going to do anything useful?
$ perl -Mstrict -MEncode -wE 'my $str="foo"; say encode("MIME-Header", + $str);' =?UTF-8?B?Zm9v?=
In reply to Re^6: How to know to know if string is utf8 encoded or decoded.
by 1nickt
in thread How to know to know if string is utf8 encoded or decoded.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |