Does encode_qp() not encode the tab character as =09?

The following code does not do this as I would expect:

#!/usr/bin/perl -w
use MIME::QuotedPrint;

while(<>)
{
        chomp($_);
        $encoded = encode_qp($_);
        print "$encoded\n";
}

when given the input file below:
-----
        note the tab at the beginning of this line
-----

the result is:
-----
        note the tab at the beginning of this line
-----=20

and not:
-----
=09note the tab at the beginning of this line
-----=20

Which is what I thought it should.  Does someone have a good explanation for this 
behavior?

Will Senn
Senior Software Engineer, R&D
Postfuture, Inc.
Voice: (972) 789-1990 ext.232
Fax: (972) 991-8446
mailto:[EMAIL PROTECTED]
http://www.postfuture.com

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to