MIME::QuotedPrint - Encoding and decoding of quoted-printable strings |
MIME::QuotedPrint - Encoding and decoding of quoted-printable strings
use MIME::QuotedPrint;
$encoded = encode_qp($decoded); $decoded = decode_qp($encoded);
This module provides functions to encode and decode strings into the Quoted-Printable encoding specified in RFC 2045 - MIME (Multipurpose Internet Mail Extensions). The Quoted-Printable encoding is intended to represent data that largely consists of bytes that correspond to printable characters in the ASCII character set. Non-printable characters (as defined by english americans) are represented by a triplet consisting of the character ``='' followed by two hexadecimal digits.
The following functions are provided:
encode_qp($str)
"\n"
).
If you prefer not to import these routines into your namespace you can call them as:
use MIME::QuotedPrint (); $encoded = MIME::QuotedPrint::encode($decoded); $decoded = MIME::QuotedPrint::decode($encoded);
Copyright 1995-1997,2002-2003 Gisle Aas.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
MIME::QuotedPrint - Encoding and decoding of quoted-printable strings |