The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MIME::DecodeText - Decode any multipart encoded text.

SYNOPSIS

  use MIME::DecodeText;

  my $decoded_text = decode_text($encoded_text);

DESCRIPTION

Decode any multipart differently encoded text.

Now distinguishes Base64, QuotedPrintable encoded and plain text parts of the space-separated text string.

Usage sample is decoding of message subjects which were encoded in various ways by different mail agents with non-US locale applied.

EXPORT

  decode_text

AUTHOR

Vlad Danego, <vlad@al.lg.ua>

SEE ALSO

MIME::Base64, MIME::QuotedPrint.