Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-07-02 05:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (18 votes). Check out past polls.