in reply to Re^5: How to know to know if string is utf8 encoded or decoded.
in thread How to know to know if string is utf8 encoded or decoded.
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?=
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: How to know to know if string is utf8 encoded or decoded.
by Anonymous Monk on Jul 26, 2019 at 15:14 UTC | |
by 1nickt (Canon) on Jul 26, 2019 at 15:26 UTC |