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

Re^2: problem decoding a quoted-printable euc-jp mail header

by blahblahblah (Priest)
on Oct 12, 2006 at 13:19 UTC ( [id://577826]=note: print w/replies, xml ) Need Help??


in reply to Re: problem decoding a quoted-printable euc-jp mail header
in thread problem decoding a quoted-printable euc-jp mail header

Thanks, your suggestion worked perfectly. If I add this, the data comes out correctly:
$str =~ s{euc-jp}{cp932};

    So where are those labels coming from, anyway?

These mails are coming from hotmail. Just last week they started coming in as 'euc-jp?Q?' instead of 'euc-jp?B?', and the base64 ones were working fine. I don't know if hotmail changed something or if some email server or spam filter at my client's site might be altering the message. I've seen similar problems with the bodies of some mails from yahoo and hotmail before, where the charset is labeled as iso-8859-1 but it's really some Japanese or Korean encoding. Whatever else people might say about MS, Outlook does a great job of 'dwim' when it comes to email, for better or worse.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found