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...


Comment on Re: Mime::Parser utf-8 issue
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2015-07-02 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (46 votes), past polls