XP is just a number | |
PerlMonks |
problem decoding a quoted-printable euc-jp mail headerby blahblahblah (Priest) |
on Oct 11, 2006 at 19:55 UTC ( [id://577711]=perlquestion: print w/replies, xml ) | Need Help?? |
blahblahblah has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I understand a bit about how encoded email data works, but I'm far from an expert. I'm stumped on a problem that just started occurring for one of our customers. My script isn't able to parse quoted-printable, euc-jp mail subjects. It does fine with other asian charsets + quoted-printable, and also with euc-jp base64 data. The data that I have is a little fishy looking to me, and I'm wondering if someone can offer any insight into what's different between my working and non-working strings below, and/or advice on how to decode the non-working string.
The thing that looks strange about the bad strings is the alternation of "=xx" with single ascii characters. I think technically that's valid quoted-printable, but usually I just see the repeated "equals sign plus 2 hex chars" like in the good string above. Also, when I bounce this mail to my outlook, it shows the subject correctly. Any advice?
Thanks,
Back to
Seekers of Perl Wisdom
|
|