Bowie Bailey wrote:
I am writing a script which will be parsing email headers.  I have found
that some mailers (such as Exchange) tend to put UTF in the headers.

For example, one recent email has a header that looks like this:

To: "=?UTF-8?B?dGVzdCB0ZXN0?=" <[EMAIL PROTECTED]>

Is there a module I can use to convert this to standard ascii?

That's actually a two-stage conversion, first to UTF-8, and then to Base64.

--
John W. Kennedy
"Give up vows and dogmas, and fixed things, and you may grow like That.
...you may come to think a blow bad, because it hurts, and not because
it humiliates.  You may come to think murder wrong, because it is
violent, and not because it is unjust."
  -- G. K. Chesterton.  "The Ball and the Cross"




_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to