in reply to Mail::POP3Client Windows-1252 decoding

Alternatively, MIME::QuotedPrint, or even PerlIO::via::QuotedPrint (PerlIO layer, for file I/O)

  • Comment on Re: Mail::POP3Client Windows-1252 decoding

Replies are listed 'Best First'.
Re^2: Mail::POP3Client Windows-1252 decoding
by cormanaz (Deacon) on Jun 04, 2008 at 20:22 UTC
    MIME::QuotedPrint did it. Thanks you. MIME::Decoder seems to work only with filehandles.
      True, but it's pretty easy to use a scalar variable as a file:
      open(my $fh, ">", \my $text); $decoder->decode(\*DATA, $fh); print "decoded text = $text\n";