Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Mime::Parser utf-8 issue

by runrig (Abbot)
on Jan 22, 2013 at 22:51 UTC ( #1014808=note: print w/replies, xml ) Need Help??


in reply to Mime::Parser utf-8 issue

All you need is:
my $entity = $parser->parse_data($message); my $header = $entity->head(); my $subject = Encode::decode('MIME-Header', $header->get('subject'));
I'm not sure why it took nearly 300 lines of code to ask the question...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014808]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2016-12-11 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.