tsr2 has asked for the wisdom of the Perl Monks concerning the following question:
I've got Perl 5.6.1, but could probably upgrade if needed.
What I'm trying to do is take an incoming email and break it down into components, which are placed as CDATA sections in an XML tree. I want to be able to decode RFC1522 headers to UTF-8 and reconstitute the original data later.
AFAICT the MIME::Words/MIME::WordDecoders module won't give me a UTF-8 representation of the original text. The best I can get is some ISO-8859 text that has probably thrown away half the text.
Is there any way in Perl of getting a UTF-8 representation of RFC1522 text, which can be reconstituted to produce the original character set later?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MIME nasties
by bgreenlee (Friar) on Aug 03, 2004 at 15:45 UTC | |
by tsr2 (Initiate) on Aug 03, 2004 at 16:22 UTC | |
by bgreenlee (Friar) on Aug 04, 2004 at 11:27 UTC | |
by Anonymous Monk on Aug 05, 2004 at 14:56 UTC |