Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Module for decoding utf-8 imap headers?

by nysus (Parson)
on May 30, 2020 at 17:01 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-03-28 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found