Book HomeJava and XSLTSearch this book

8.149. MIME::QuotedPrint

Provides functions to encode and decode strings into the quoted-printable encoding as specified in RFC 2045 (MIME). Quoted-printable encoding is used to represent data that's comprised of data that corresponds to ASCII characters. Nonprintable characters are represented by a triplet consisting of the = character followed by two hexadecimal digits. MIME::QuotedPrint ships with the Perl source kit as of 5.8.

MIME::QuotedPrint implements and exports the following functions.

decode_qp

decode_qp(string)

Returns the plain-text version of string, which is quoted-printable-encoded.

encode_qp

encode_qp(string)

Returns a quoted-printable-encoded version of string. The returned version of string will not be CRLF-terminated.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.