PHP quoted_printable_encode() function

Definition and usage

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

Hint:Data encoded with quoted-printable is different from data that has been modified during transmission by email. Complete US-ASCII text can be encoded with quoted-printable to ensure the integrity of data when passing through text translation or packet network 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+