Good day, I have been given a large dump of emails (that were originally sms messages) and charged with making them display nicely in HTML. I am using MIME::Parser to parse out the messages, which is working well, except that there are "emojis" that are in the raw email messages that are quoted printable.
I need to be able to decode these emojis and map them to images that will display in a browser. I have a list of emojis and their images in unicode form i.e. U+1F601 but I am have trouble recognizing the quoted-printable code in to this unicode format.
For example in the raw email message I have this smily face in quoted printable:
I need this to translate in to U+1F601 so I can map to the correct image to display. Right now MIME::Parser is converting in to unrecognizable characters. I am admittedly a novice in terms of character sets and translations. Any advice you can give would be appreciated.