Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by tye (Sage)
on Nov 15, 2006 at 17:08 UTC ( [id://584216]=note: print w/replies, xml ) Need Help??


in reply to Decoding UTF-8 charset in an .EML file

Please attach the code that you've tried so far. Please see these links to "how to not ask a question", "how to ask questions somewhat properly in case you are an idiot", "how to format posts" (for when you post this code), and "guide to the monastery". Thanks.

If this is homework, please read these nodes about how stupid you are for posting a homework question here:

Update: Oh, I forgot to make those links. I don't have those handy because I don't post these types of nodes over and over again. Oh well, someone else will surely reply with those links shortly. Please be patient. (:

Sarcasm. Its not just for breakfast anymore. - tye        

Replies are listed 'Best First'.
Re^2: Decoding UTF-8 charset in an .EML file (RTFBP)
by japhy (Canon) on Nov 15, 2006 at 17:26 UTC
    Have I been absent from the Monastery for too long?
    • I have tried no code, because I don't know what modules are appropriate for the conversion task. If you'll re-read my post, that's the question I asked: "What tools are necessary to do this?"
    • I have supplied sample data and stated my goal.
    • This is not homework, this is a task for a co-worker. He is not a Perl programmer, but Perl seems to be an appropriate tool to get this done. However, I have never had to deal with this sort of process before and need a starting point.
    I'm not sure if the "Sarcasm..." is your signature or if it was attached specifically to your reply.

    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

      So you're not even going to try ? I mean, I got it on the first guess.

      (note the (unmodified) sig) I thought you're "lack of effort" deserved some ribbing, as did (even more so) the all-too-common response to "lack of effort" around here. Enjoy.

      - tye        

        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
      Frankly, I appreciate questions like this. They sparc my curiosity, so I go learn a little something. Seems to be a lot of sarcasm aimed at folks that ask questions here recently. Some of it a little more pointed than required it seems to me.

      Anyway, thanks for the question, I learned something from it. :-)

      ...the majority is always wrong, and always the last to know about it...

        It sounds like you may have missed that most of my sarcasm was directed at those who berate people who ask questions (or seem to jump straight to "I didn't understand your question and can't believe that anyone else will" rather than waiting a little longer and seeing that they aren't actually the single most insightful person to visit the site and some people had little problem understanding the problem statement or at least tried to understand it and moved things along in a less tiring manner).

        I'm sure many get tired of what they see as "poor quality questions". I suspect that many also get tired of seeing the near-identical set of links to the same boilerplates being posted after what appears to be "no effort" to understand the question asked. I personally choose to be more forgiving of the new guys than the veterans (seems only logical). I guess I need to write a "How to not try to answer a question" node so I can link to that in future.

        I suspect that if I went back in time and posted japhy's exact node as AnonyMonk and didn't reply to it, there'd be a mostly useless reply posted rather quickly similar to what I spoofed (if not several).

        And, skipping ahead, also realize that it is all too easy to read negative emotions and taking things "seriously" into text-only communications. I didn't have any serious criticism for japhy. I found his apparent "I have no clue how to try to find this answer" amusing. Since it was japhy (who has a deserved good reputation, just in case you aren't aware), I figured the usual suspects wouldn't call him on "no effort" and found the idea of calling him on it amusing.

        As for the boilerplate posters, I only find them mildly annoying and rarely do more than roll my eyes in response. But I like attempts at jokes. It appears that a couple of people even "got" it. :)

        - tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-28 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found