I've got email subjects extracted into a field, which are encoded in UTF-8 or ISO-8859-*
What would be the best way to convert these into a readable format?
It was not exactly was I was looking for. The logfile is in ASCII, but it contains fields that are MIME encoded.
To solve the problem I wrote an external command, that decodes MIME fields into utf-8.
Get the code here: