International PHP Conference Berlin 2025

imap_qprint

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_qprintConvert a quoted-printable string to an 8 bit string

Description

imap_qprint(string $string): string|false

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.

See Also

  • imap_8bit() - Convert an 8bit string to a quoted-printable string

add a note

User Contributed Notes 1 note

up
4
bernard at bmpsystems dot com
24 years ago
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.
To Top