Query: mime::quotedprint
OS: redhat
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MIME::QuotedPrint(3pm) Perl Programmers Reference Guide MIME::QuotedPrint(3pm)NAMEMIME::QuotedPrint - Encoding and decoding of quoted-printable stringsSYNOPSISuse MIME::QuotedPrint; $encoded = encode_qp($decoded); $decoded = decode_qp($encoded);DESCRIPTIONThis 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) This function will return an encoded version of the string given as argument. Note that encode_qp() does not change newlines " " to the CRLF sequence even though this might be considered the right thing to do (RFC 2045 (Q-P Rule #4)). decode_qp($str); This function will return the plain text version of the string given as argument. 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);COPYRIGHTCopyright 1995-1997 Gisle Aas. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.0 2002-06-01 MIME::QuotedPrint(3pm)
Related Man Pages |
---|
mime::quotedprint(3pm) - redhat |
mime::base64(3pm) - mojave |
perlio::via::quotedprint(3pm) - mojave |
mime::base64(3pm) - suse |
mime::quotedprint(3pm) - suse |