An rfc2047 decoder for email headers