PHP quoted_printable_encode() Function

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

Definition and Usage

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

Tip: Data encoded in quoted-printable are unlikely to be modified by mail transport. A text which is entirely US-ASCII may be encoded in quoted-printable to ensure the integrity of the data should the message pass through a character-translating, or line-wrapping gateway.

Syntax

quoted_printable_encode(string)

Parameter Values

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

Technical Details

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

❮ PHP String Reference