This function seems to have a bug, when the quoted-printable string contains a "=" without the HEX code of a Character.
I use the regular quoted_printable_decode instead.imap_qprint
(PHP 4, PHP 5, PHP 7, PHP 8)
imap_qprint — Convert a quoted-printable string to an 8 bit string
Description
Convert a quoted-printable string to an 8 bit string according to » RFC2045, section 6.7.
Parameters
string-
A quoted-printable string
Return Values
Returns an 8 bits string, or false on failure.
+add a note
User Contributed Notes 1 note
bernard at bmpsystems dot com ¶
26 years ago