Logo Search packages:      
Sourcecode: d-push version File versions  Download package

Mail_mimeDecode::_quotedPrintableDecode ( input )

Given a quoted-printable string, this function will decode and return it.

Parameters:
stringInput body to decode
Returns:
string Decoded body private

Definition at line 645 of file mimeDecode.php.

Referenced by _decodeBody().

    {
        // Remove soft line breaks
        $input = preg_replace("/=\r?\n/", '', $input);

        // Replace encoded characters
        $input = preg_replace('/=([a-f0-9]{2})/ie', "chr(hexdec('\\1'))", $input);

        return $input;
    }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index