PHP quoted_printable_encode() Function

Definition and Usage

The quoted_printable_encode() function converts an 8-bit string to a quoted-printable string.

Tip:Data encoded with quoted-printable is different from data modified during email transmission. Text that is completely US-ASCII can be encoded with quoted-printable to ensure the integrity of data when messages are transmitted through text translation or line packaging gateways.

Syntax

quoted_printable_encode(string)
Parameter Description
string Required. Specifies the 8-bit string to be converted.

Technical Details

Return Value: Return the converted string.
PHP Version: 5.3.0+