Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Module for decoding utf-8 imap headers?

by afoken (Chancellor)
on May 30, 2020 at 19:51 UTC ( [id://11117511]=note: print w/replies, xml ) Need Help??


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

=?UTF-8?B?VHJ1ZUJsdWU=?= <jetblueairways@email.jetblue.com>

Encode::MIME::Header should do the trick:

>perl -MEncode=decode -MEncode::MIME::Header -E 'say decode("MIME-Head +er", "=?UTF-8?B?VHJ1ZUJsdWU=?=")' TrueBlue >

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-19 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found