Documentation

Horde_Mime_QuotedPrintable
in package

Quoted-printable utility methods.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

since
2.5.0

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.

Search results