[Mimedefang] Help with Unicode Subject (again please)

David F. Skoll dfs at roaringpenguin.com
Thu Oct 23 15:26:23 EDT 2003


On Thu, 23 Oct 2003, Stefan Schoeman wrote:

> However, every now and again I get a message with a subject as follows:

> Subject:=?ISO-8859-1?B?UmU6R2V0IFNpbGRlbmFmaWwgQ2l0cmF0ZSAgT25saW5lIENoZWFwISBJbnRlcm5ldCBTcGVjaWFsIQ==?=

This Perl module might be of use:

http://search.cpan.org/~eryq/MIME-tools-5.411a/lib/MIME/Words.pm

It's part of MIME::Tools (which you already have.)  Try:  man MIME::Words

Something like:

	$decoded = decode_mimewords($Subject);

might be all you need.

Regards,

David.



More information about the MIMEDefang mailing list