Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Module for decoding utf-8 imap headers?

by nysus (Parson)
on May 30, 2020 at 17:01 UTC ( #11117507=note: print w/replies, xml ) Need Help??


in reply to Module for decoding utf-8 imap headers?

OK, some more googling revealed that that encoding method is called "MIME words". That led me to the MIME::Words module. This works:

use MIME::Words qw (:all); if ($sender =~ /^=\?UTF/i) { $sender = decode_mimewords($sender); }

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11117507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2022-05-29 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?