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

Re^4: Decoding UTF-8 charset in an .EML file (RTFBP)

by japhy (Canon)
on Nov 15, 2006 at 18:06 UTC ( #584230=note: print w/replies, xml ) Need Help??

in reply to Re^3: Decoding UTF-8 charset in an .EML file (RTFBP)
in thread Decoding UTF-8 charset in an .EML file

If I had recognized the encoding as Base-64, I would have investigated it as such. As it stands, I had no idea what the encoding was (I thought it was some UTF-specific shenanigans). merlyn had mentioned on #perl that any MIME reader should be able to grok it, but I have no experience with the MIME::* modules. It wasn't until I looked at MIME::Parser that I followed the trail that led me to my goal.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart
  • Comment on Re^4: Decoding UTF-8 charset in an .EML file (RTFBP)

Replies are listed 'Best First'.
Re^5: Decoding UTF-8 charset in an .EML file (RTFBP)
by tye (Sage) on Nov 15, 2006 at 18:13 UTC

    I didn't recognize the encoding as base-64. I actually looked at the encoding and spent a few seconds thinking about it. At that point I noticed that it used letters of both case and digits and so I tried to think of encodings that used such. base-64 and uuencode both do that and a quick test showed that base64 worked.

    I didn't let some initial guess ("UTF-specific shenanigans") prevent me from trying to solve the problem. (: Just FYI.

    - tye        

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2022-05-20 05:32 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (72 votes). Check out past polls.