Horde_Mime_QuotedPrintable
in package
Quoted-printable utility methods.
Tags
Table of Contents
- decode() : string
- Decodes quoted-printable data.
- encode() : string
- Encodes text via quoted-printable encoding.
Methods
decode()
Decodes quoted-printable data.
public
static decode(string $data) : string
Parameters
- $data : string
-
The Q-P data to decode.
Return values
string —The decoded text.
encode()
Encodes text via quoted-printable encoding.
public
static encode(string $text[, string $eol = "
" ][, int $wrap = 76 ]) : string
Parameters
- $text : string
-
The text to encode (UTF-8).
- $eol : string = " "
-
The EOL sequence to use.
- $wrap : int = 76
-
Wrap a line at this many characters.
Return values
string —The quoted-printable encoded string.